Migration of installation procedure

git-svn-id: http://piwigo.org/svn/trunk@367 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
gweltas
2004-02-20 19:07:43 +00:00
parent c6a91a26c4
commit 3bf770a16a
10 changed files with 466 additions and 513 deletions
+6 -6
View File
@@ -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]);
}
?>
?>