Code

This is no error, actually. Just removed $config, because it is never set.
[gosa.git] / html / setup.php
index 8e9220e6b7c49c05c051baf58bb6f7ffc1f10e27..177b38216d6c6c21ea12a724c0c58e5ff9b9c497 100644 (file)
@@ -71,13 +71,7 @@ $_SESSION['errorsAlreadyPosted']= array();
 $_SESSION['LastError']          = "";
 
 /* Set template compile directory */
-if (isset ($config->data['MAIN']['COMPILE'])){
-  $smarty->compile_dir= $config->data['MAIN']['COMPILE'];
-} else {
-  $smarty->compile_dir= '/var/spool/gosa/';
-}
-
-
+$smarty->compile_dir= '/var/spool/gosa/';
 
 /* Get posted language */
 if(!isset($_SESSION['lang'])){