From f05a0df6f6cf4d1bf46fd025ef6430d4632468ba Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Thu, 1 Dec 2005 08:33:12 +0000 Subject: [PATCH] no error for missing config file (bug #1370269) --- ChangeLog | 2 ++ libraries/Config.class.php | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 943550d64..0e012b64f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ $Source$ 2005-12-01 Sebastian Mendel * libraries/common.lib.php, Theme.class.php: missing '/' in img path (bug #1370437) + * libraries/Config.class.php: + no error for missing config file (bug #1370269) 2005-11-30 Michal Čihař * lang/*: Messages for Sebastian. diff --git a/libraries/Config.class.php b/libraries/Config.class.php index e991f20fa..eb9d6b590 100644 --- a/libraries/Config.class.php +++ b/libraries/Config.class.php @@ -339,9 +339,13 @@ class PMA_Config { */ function setSource( $source ) { if ( ! file_exists( $source ) ) { + // do not trigger error here + // https://sf.net/tracker/?func=detail&aid=1370269&group_id=23067&atid=377408 + /* trigger_error( 'phpMyAdmin-ERROR: unkown configuration source: ' . $source, E_USER_WARNING ); + */ return false; } $this->source = trim( $source );