diff --git a/ChangeLog b/ChangeLog index da71ca6f6..4d021409b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2005-10-07 Michal Čihař * lang/bulgarian: Update, thanks to Stanislav Yordanov - stanprog. + * libraries/common.lib.php: Drop some old code. 2005-10-06 Michal Čihař * import.php: Correctly report that file could not be read. diff --git a/libraries/common.lib.php b/libraries/common.lib.php index fc35c125e..6b7fbb0fc 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -94,7 +94,7 @@ if (file_exists('./config.inc.php')) { $result = eval('?>' . fread($config_fd, filesize('./config.inc.php'))); fclose($config_fd); // Eval failed - if ($result === FALSE || (!isset($cfgServers) && !isset($cfg['Servers']))) { + if ($result === FALSE || !isset($cfg['Servers'])) { // Creates fake settings $cfg = array('DefaultLang' => 'en-iso-8859-1', 'AllowAnywhereRecoding' => FALSE);