The branch, master has been updated via 31244e29d5105e6d632526fb356bcbbac1acb9dc (commit) from 2fe1c8242648139381634dd7c95fe39e69f8d5fa (commit)
- Log ----------------------------------------------------------------- commit 31244e29d5105e6d632526fb356bcbbac1acb9dc Author: Michal Čihař mcihar@novell.com Date: Wed Jul 21 08:52:35 2010 +0200
Better message for missing extension.
-----------------------------------------------------------------------
Summary of changes: libraries/core.lib.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libraries/core.lib.php b/libraries/core.lib.php index 4b50b50..5e85d69 100644 --- a/libraries/core.lib.php +++ b/libraries/core.lib.php @@ -279,7 +279,8 @@ function PMA_fatalError($error_message, $message_args = null) */ function PMA_warnMissingExtension($extension, $fatal = false, $extra = '') { - $message = sprintf(__('Cannot load [a@http://php.net/%1$s@Documentation%5D%5Bem%5D%1$s%5B/em%5D%5B/a] extension. Please check your PHP configuration.'), $extension); + $message = sprintf(__('The %s extension is missing. Please check your PHP configuration.'), + sprintf('[a@http://php.net/%1$s@Documentation%5D%5Bem%5D%1$s%5B/em%5D%5B/a]', $extension)); if ($extra != '') { $message .= ' ' . $extra; }
hooks/post-receive