Code

Portet changes from stable:
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Aug 2007 05:00:47 +0000 (05:00 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Aug 2007 05:00:47 +0000 (05:00 +0000)
Author: cajus
Date: 2007-07-24 08:12:53 +0200 (Tue, 24 Jul 2007)
New Revision: 6935

Modified:
   branches/2.5/html/setup.php
Log:
This is no error, actually. Just removed $config, because it is never set.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6973 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'])){