Code

removed defaults from get_cfg_value and added some missing properties.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 07:41:36 +0000 (07:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 07:41:36 +0000 (07:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18318 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/index.php

index d55a13ff9afb37fb536047bcc20b10681e0f1526..3ce811e3303898a6580dd01b72a07ae63283262c 100644 (file)
@@ -37,7 +37,7 @@ function displayLogin()
     error_reporting(E_ALL | E_STRICT);
 
     /* Check theme compatibility */
-    $theme= $config->get_cfg_value("core",'theme', 'default');
+    $theme= $config->get_cfg_value("core",'theme');
     if (file_exists("$BASE_DIR/ihtml/themes/$theme/blacklist")) {
         $blocks= file("$BASE_DIR/ihtml/themes/$theme/blacklist");
         foreach ($blocks as $block) {
@@ -171,7 +171,7 @@ if ($config->get_cfg_value("core","sendCompressedOutput") != "") {
 }
 
 /* Set template compile directory */
-$smarty->compile_dir= $config->get_cfg_value("core","templateCompileDirectory", '/var/spool/gosa');
+$smarty->compile_dir= $config->get_cfg_value("core","templateCompileDirectory");
 $smarty->error_unassigned= true;
 
 /* Check for compile directory */