diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-07-24 13:58:59 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-07-24 13:58:59 +0000 |
commit | 275f62a5bdab5fe41e03402bdb1951ccd2b45cb8 (patch) | |
tree | 881338b8f4f45f4dd36cfd30d2bb4b31d25408e3 /phpBB/includes/template.php | |
parent | be3b51ae84737b8044aeb28d71e137d89dd21528 (diff) | |
download | forums-275f62a5bdab5fe41e03402bdb1951ccd2b45cb8.tar forums-275f62a5bdab5fe41e03402bdb1951ccd2b45cb8.tar.gz forums-275f62a5bdab5fe41e03402bdb1951ccd2b45cb8.tar.bz2 forums-275f62a5bdab5fe41e03402bdb1951ccd2b45cb8.tar.xz forums-275f62a5bdab5fe41e03402bdb1951ccd2b45cb8.zip |
Changes for styling directory layout alterations
git-svn-id: file:///svn/phpbb/trunk@4325 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r-- | phpBB/includes/template.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 3c765a03a2..d7de109602 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -68,16 +68,16 @@ class template { global $phpbb_root_path, $config, $user; - if (file_exists($phpbb_root_path . 'styles/templates/' . $user->theme['primary']['template_path'])) + if (file_exists($phpbb_root_path . 'styles/' . $user->theme['primary']['template_path'] . '/template')) { // $this->tpl = 'primary'; - $this->root = $phpbb_root_path . 'styles/templates/' . $user->theme['primary']['template_path']; + $this->root = $phpbb_root_path . 'styles/' . $user->theme['primary']['template_path']. '/template'; $this->cachepath = $phpbb_root_path . 'cache/tpl_' . $user->theme['primary']['template_path'] . '_'; } else { // $this->tpl = 'secondary'; - $this->root = $phpbb_root_path . 'styles/templates/' . $user->theme['secondary']['template_path']; + $this->root = $phpbb_root_path . 'styles/' . $user->theme['secondary']['template_path']. '/template'; $this->cachepath = $phpbb_root_path . 'cache/tpl_' . $user->theme['secondary']['template_path'] . '_'; } @@ -166,7 +166,7 @@ class template if (!file_exists($this->files[$handle])) { // $this->tpl = 'secondary'; - $this->files[$handle] = $phpbb_root_path . 'styles/templates/' . $user->theme['secondary']['template_path'] . '/' . $this->filename[$handle]; + $this->files[$handle] = $phpbb_root_path . 'styles/' . $user->theme['secondary']['template_path'] . '/template/' . $this->filename[$handle]; } $str = ''; |