mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 03:50:22 +02:00
Okay it seems the template setup has moved to the DB ... thanks for telling me :)
git-svn-id: file:///svn/phpbb/trunk@202 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -54,7 +54,6 @@ $image_msnm = "$url_images/msnm.gif";
|
|||||||
// Find Users real IP (if possible)
|
// Find Users real IP (if possible)
|
||||||
$user_ip = ($HTTP_X_FORWARDED_FOR) ? $HTTP_X_FORWARDED_FOR : $REMOTE_ADDR;
|
$user_ip = ($HTTP_X_FORWARDED_FOR) ? $HTTP_X_FORWARDED_FOR : $REMOTE_ADDR;
|
||||||
|
|
||||||
$template = new Template("./templates/Default");
|
|
||||||
include('includes/template.inc');
|
include('includes/template.inc');
|
||||||
|
|
||||||
include('includes/error.'.$phpEx);
|
include('includes/error.'.$phpEx);
|
||||||
@@ -96,6 +95,8 @@ else
|
|||||||
$sys_timezone = $config["system_timezone"];
|
$sys_timezone = $config["system_timezone"];
|
||||||
$sys_template = $config['sys_template'];
|
$sys_template = $config['sys_template'];
|
||||||
$sys_lang = $default_lang;
|
$sys_lang = $default_lang;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
include('language/lang_'.$default_lang.'.'.$phpEx);
|
include('language/lang_'.$default_lang.'.'.$phpEx);
|
||||||
|
Reference in New Issue
Block a user