mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-04 17:02:17 +02:00
Migration of installation procedure
git-svn-id: http://piwigo.org/svn/trunk@367 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -271,11 +271,11 @@ function init_userprefs($userdata)
|
||||
|
||||
function setup_style($style)
|
||||
{
|
||||
$template_path = 'template/' ;
|
||||
$template_name = $style ;
|
||||
|
||||
$template = new Template(PHPWG_ROOT_PATH . $template_path . $template_name);
|
||||
return $template;
|
||||
$template_path = 'template/' ;
|
||||
$template_name = $style ;
|
||||
include_once( PHPWG_ROOT_PATH . $template_path . $template_name.'/htmlfunctions.inc.php' );
|
||||
$template = new Template(PHPWG_ROOT_PATH . $template_path . $template_name);
|
||||
return $template;
|
||||
}
|
||||
|
||||
function encode_ip($dotquad_ip)
|
||||
@@ -289,4 +289,4 @@ function decode_ip($int_ip)
|
||||
$hexipbang = explode('.', chunk_split($int_ip, 2, '.'));
|
||||
return hexdec($hexipbang[0]). '.' . hexdec($hexipbang[1]) . '.' . hexdec($hexipbang[2]) . '.' . hexdec($hexipbang[3]);
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user