From: cajus Date: Tue, 20 Apr 2010 08:09:22 +0000 (+0000) Subject: Enabled smarty unassigned errors X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=99018b6b5b94f413836e57a88062893833e0ba01;p=gosa.git Enabled smarty unassigned errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17728 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/index.php b/gosa-core/html/index.php index 31eb1ad16..f52673244 100644 --- a/gosa-core/html/index.php +++ b/gosa-core/html/index.php @@ -171,6 +171,7 @@ if ($config->get_cfg_value("sendCompressedOutput") != "") { /* Set template compile directory */ $smarty->compile_dir= $config->get_cfg_value("templateCompileDirectory", '/var/spool/gosa'); +$smarty->error_unassigned= true; /* Check for compile directory */ if (!(is_dir($smarty->compile_dir) && is_writable($smarty->compile_dir))) { diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index c724f57dc..b777ebc88 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -98,6 +98,7 @@ if(session::global_get('_LAST_PAGE_REQUEST') == ""){ /* Set template compile directory */ $smarty->compile_dir= $config->get_cfg_value("templateCompileDirectory", '/var/spool/gosa'); +$smarty->error_unassigned= true; /* Set default */ $reload_navigation = false;