From 8dbef23cea5436c87431d1222ca4ae4ec8bcf4f9 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 21 Jun 2006 16:52:10 +0000 Subject: [PATCH] show error if template path could not be determined git-svn-id: file:///svn/phpbb/trunk@6112 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/template.php | 4 ++++ 1 file changed, 4 insertions(+) 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; }