From: hickert Date: Tue, 11 May 2010 07:17:44 +0000 (+0000) Subject: Updated config flag reading for password.php X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4dc0b97ad56e93be970de300e5c298eae7fd4ec3;p=gosa.git Updated config flag reading for password.php git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18315 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);