diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-21 16:52:10 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-21 16:52:10 +0000 |
commit | 8dbef23cea5436c87431d1222ca4ae4ec8bcf4f9 (patch) | |
tree | dd0d359911ce8792dfd228aa19bd9bf5cd6d90c0 /phpBB/includes/template.php | |
parent | d8137406e2e965a8193b204c2a00637766bb8641 (diff) | |
download | forums-8dbef23cea5436c87431d1222ca4ae4ec8bcf4f9.tar forums-8dbef23cea5436c87431d1222ca4ae4ec8bcf4f9.tar.gz forums-8dbef23cea5436c87431d1222ca4ae4ec8bcf4f9.tar.bz2 forums-8dbef23cea5436c87431d1222ca4ae4ec8bcf4f9.tar.xz forums-8dbef23cea5436c87431d1222ca4ae4ec8bcf4f9.zip |
show error if template path could not be determined
git-svn-id: file:///svn/phpbb/trunk@6112 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r-- | phpBB/includes/template.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 1e1ad31193..844ff468a0 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -50,6 +50,10 @@ class template $this->root = $phpbb_root_path . 'styles/' . $user->theme['template_path'] . '/template'; $this->cachepath = $phpbb_root_path . 'cache/tpl_' . $user->theme['template_path'] . '_'; } + else + { + trigger_error('Template path could not be found: styles/' . $user->theme['template_path'] . '/template', E_USER_ERROR); + } return true; } |