From 3bf770a16a15400eb2bde63782e07ba55dde2ed4 Mon Sep 17 00:00:00 2001 From: gweltas Date: Fri, 20 Feb 2004 19:07:43 +0000 Subject: Migration of installation procedure git-svn-id: http://piwigo.org/svn/trunk@367 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_user.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/functions_user.inc.php') 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 +?> -- cgit v1.2.3