no error for missing config file (bug #1370269)

This commit is contained in:
Sebastian Mendel
2005-12-01 08:33:12 +00:00
parent ec92d86aa4
commit f05a0df6f6
2 changed files with 6 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2005-12-01 Sebastian Mendel <cybot_tm@users.sourceforge.net> 2005-12-01 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/common.lib.php, Theme.class.php: * libraries/common.lib.php, Theme.class.php:
missing '/' in img path (bug #1370437) missing '/' in img path (bug #1370437)
* libraries/Config.class.php:
no error for missing config file (bug #1370269)
2005-11-30 Michal Čihař <michal@cihar.com> 2005-11-30 Michal Čihař <michal@cihar.com>
* lang/*: Messages for Sebastian. * lang/*: Messages for Sebastian.

View File

@@ -339,9 +339,13 @@ class PMA_Config {
*/ */
function setSource( $source ) { function setSource( $source ) {
if ( ! file_exists( $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( trigger_error(
'phpMyAdmin-ERROR: unkown configuration source: ' . $source, 'phpMyAdmin-ERROR: unkown configuration source: ' . $source,
E_USER_WARNING ); E_USER_WARNING );
*/
return false; return false;
} }
$this->source = trim( $source ); $this->source = trim( $source );