Code

This is no error, actually. Just removed $config, because it is never set.
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Jul 2007 06:12:53 +0000 (06:12 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Jul 2007 06:12:53 +0000 (06:12 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6935 594d385d-05f5-0310-b6e9-bd551577e9d8

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'])){