Code

Enabled smarty unassigned errors
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Apr 2010 08:09:22 +0000 (08:09 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Apr 2010 08:09:22 +0000 (08:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17728 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/index.php
gosa-core/html/main.php

index 31eb1ad16000d25f3f8d533ba72037c103c6a08e..f5267324427c54a4b1ddbb8c65294887aa17442e 100644 (file)
@@ -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))) {
index c724f57dc20405af73dfe6b0cf5ca57e9b87b9a7..b777ebc886bfb8a301dffe10f6eee61623107674 100644 (file)
@@ -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;