diff options
author | gweltas <gweltas@piwigo.org> | 2004-02-20 19:07:43 +0000 |
---|---|---|
committer | gweltas <gweltas@piwigo.org> | 2004-02-20 19:07:43 +0000 |
commit | 3bf770a16a15400eb2bde63782e07ba55dde2ed4 (patch) | |
tree | 4821622bfff136c6f7fb98e89ba1ba9f7b3a56e6 /include/functions_user.inc.php | |
parent | c6a91a26c4f9e5a3294a708988d6f6234a3f4a38 (diff) |
Migration of installation procedure
git-svn-id: http://piwigo.org/svn/trunk@367 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/functions_user.inc.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index 1d205414f..34697897f 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -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]); } -?>
\ No newline at end of file +?> |