diff --git a/libraries/common.inc.php b/libraries/common.inc.php index 0887db824f..5bdb45e51b 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -584,14 +584,11 @@ require './libraries/select_lang.lib.php'; * this check is done here after loading language files to present errors in locale */ if ($GLOBALS['PMA_Config']->error_config_file) { - $error = __('phpMyAdmin was unable to read your configuration file!
This might happen if PHP finds a parse error in it or PHP cannot find the file.
Please call the configuration file directly using the link below and read the PHP error message(s) that you receive. In most cases a quote or a semicolon is missing somewhere.
If you receive a blank page, everything is fine.') - . '

' - . ($GLOBALS['PMA_Config']->getSource() == CONFIG_FILE ? - '' . $GLOBALS['PMA_Config']->getSource() . '' - : - '' . $GLOBALS['PMA_Config']->getSource() . ''); + $error = '

' . __('Failed to to read configuration file') . '

' + . _('This usually means there is a syntax error in it, please check any errors shown bellow.') + . '
' + . '
' + . '