Drop some old code.

This commit is contained in:
Michal Čihař
2005-10-07 15:23:55 +00:00
parent 3c280ceeab
commit 589ee102f6
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ $Source$
2005-10-07 Michal Čihař <michal@cihar.com>
* lang/bulgarian: Update, thanks to Stanislav Yordanov - stanprog.
* libraries/common.lib.php: Drop some old code.
2005-10-06 Michal Čihař <michal@cihar.com>
* import.php: Correctly report that file could not be read.

View File

@@ -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);