git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11729
7612ce4b-ef26-0410-bec9-
ea0150e637f0
// Get right template file
$template = $this->get_template_file_path($file);
// Get right template file
$template = $this->get_template_file_path($file);
- if (!file_exists($template)) {
+ if (empty($template)) {
trigger_error('The template "'.htmlspecialchars($file).'" could not be fetched!', E_USER_ERROR);
} else {
ob_start();
trigger_error('The template "'.htmlspecialchars($file).'" could not be fetched!', E_USER_ERROR);
} else {
ob_start();