aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r--phpBB/includes/template.php4
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;
}