136
$result = $this->core->loadFile($template_dir . $this->core->themeFile, false, true, true, true);
136
$result = $this->loadFile($template_dir . $this->themeFile, false, true, true, true);
137
137
if (false === $result) {
138
$result = $this->core->loadFile('themes/cloud/' . $this->core->themeFile, false, true, true, true);
138
$result = $this->loadFile('themes/cloud/' . $this->themeFile, false, true, true, true);
140
140
if (false === $result) {
141
throw new PHPDS_exception('Unable to find the custom template "' . $this->core->themeFile . '" in directory "' . $template_dir . '"');
141
throw new PHPDS_exception('Unable to find the custom template "' . $this->themeFile . '" in directory "' . $template_dir . '"');
144
144
} catch (Exception $e) {