From: <var...@us...> - 2014-10-03 15:26:21
|
Revision: 9186 http://sourceforge.net/p/phpwiki/code/9186 Author: vargenau Date: 2014-10-03 15:26:18 +0000 (Fri, 03 Oct 2014) Log Message: ----------- function crypt exists Modified Paths: -------------- trunk/lib/IniConfig.php Modified: trunk/lib/IniConfig.php =================================================================== --- trunk/lib/IniConfig.php 2014-10-03 15:25:29 UTC (rev 9185) +++ trunk/lib/IniConfig.php 2014-10-03 15:26:18 UTC (rev 9186) @@ -798,21 +798,6 @@ if (!defined('THEME')) define('THEME', 'default'); - /*$configurator_link = HTML(HTML::br(), "=>", - HTML::a(array('href'=>DATA_PATH."/configurator.php"), - _("Configurator")));*/ - // check whether the crypt() function is needed and present - if (defined('ENCRYPTED_PASSWD') && !function_exists('crypt')) { - $error = sprintf("Encrypted passwords cannot be used: %s.", - "'function crypt()' not available in this version of php"); - trigger_error($error, E_USER_WARNING); - if (!preg_match("/config\-dist\.ini$/", $file)) { // protect against recursion - include_once(dirname(__FILE__) . "/install.php"); - run_install("_part1"); - exit(); - } - } - // Basic configurator validation if (!defined('ADMIN_USER') or ADMIN_USER == '') { $error = sprintf("%s may not be empty. Please update your configuration.", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |