bug #1418769 part 1: stat failed for ./config.inc.php (under PHP 4)

This commit is contained in:
Marc Delisle
2006-02-23 12:45:13 +00:00
parent 5850b36472
commit 6fe79cc137
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-02-23 Marc Delisle <lem9@users.sourceforge.net>
* libraries/Config.class.php: bug #1418769 part 1: stat failed for
./config.inc.php (under PHP 4)
2006-02-22 Marc Delisle <lem9@users.sourceforge.net>
* libraries/display_tbl.lib.php: bug #1435303, error on empty BLOB transf.
* .htaccess: added a reference to FAQ 1.36

View File

@@ -278,7 +278,7 @@ class PMA_Config
*/
function __wakeup()
{
if ( $this->source_mtime !== filemtime($this->getSource())
if (file_exists($this->getSource()) && $this->source_mtime !== filemtime($this->getSource())
|| $this->error_config_file || $this->error_config_default_file ) {
$this->settings = array();
$this->load($this->getSource());