1
0

comment todo added

This commit is contained in:
Ian
2011-11-28 12:31:09 +01:00
parent b7c43e5919
commit 436cc20a0b

View File

@@ -122,7 +122,7 @@ class Serendipity_Smarty extends Smarty
$this->setConfigDir(array(S9Y_TEMPLATE_DEFAULT)); $this->setConfigDir(array(S9Y_TEMPLATE_DEFAULT));
// changed init false to die(error) in here, as original false had no use // ToDo: better throw exception depending on context or 500/503 header here
if (!is_dir($this->getCompileDir()) || !is_writable($this->getCompileDir())) { if (!is_dir($this->getCompileDir()) || !is_writable($this->getCompileDir())) {
die(printf(DIRECTORY_WRITE_ERROR, $this->getCompileDir())); die(printf(DIRECTORY_WRITE_ERROR, $this->getCompileDir()));
} }