From 4dc0b97ad56e93be970de300e5c298eae7fd4ec3 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 May 2010 07:17:44 +0000 Subject: [PATCH] Updated config flag reading for password.php git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18315 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/password.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gosa-core/html/password.php b/gosa-core/html/password.php index 07e919d4e..4880f7197 100644 --- a/gosa-core/html/password.php +++ b/gosa-core/html/password.php @@ -76,9 +76,7 @@ if ($_SERVER["REQUEST_METHOD"] != "POST") { } /* 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"); /* Check for compile directory */ if (!(is_dir($smarty->compile_dir) && is_writable($smarty->compile_dir))) { @@ -171,7 +169,7 @@ if ($config->get_cfg_value("core","forceSSL") == 'true' && $ssl != '') { } /* Check for selected password method */ -$method= $config->get_cfg_value("core","passwordDefaultHash", "crypt/md5"); +$method= $config->get_cfg_value("core","passwordDefaultHash"); if (isset($_GET['method'])) { $method= validate($_GET['method']); $tmp = new passwordMethod($config); -- 2.30.2