The branch, QA_3_4 has been updated via ed88c4a7b68c8efd764a364d1a9579aa762ebdaa (commit) from 58d25ddcb8a036743e32879c9320dcd802626082 (commit)
- Log ----------------------------------------------------------------- -----------------------------------------------------------------------
Summary of changes: libraries/core.lib.php | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/libraries/core.lib.php b/libraries/core.lib.php index 1350247..80c1f12 100644 --- a/libraries/core.lib.php +++ b/libraries/core.lib.php @@ -275,7 +275,13 @@ function PMA_getPHPDocLink($target) { */ function PMA_warnMissingExtension($extension, $fatal = false, $extra = '') { - $message = sprintf(__('The %s extension is missing. Please check your PHP configuration.'), + /* Gettext does not have to be loaded yet here */ + if (function_exists('__')) { + $message = __('The %s extension is missing. Please check your PHP configuration.'); + } else { + $message = 'The %s extension is missing. Please check your PHP configuration.'; + } + $message = sprintf($message, '[a@' . PMA_getPHPDocLink('book.' . $extension . '.php') . '@Documentation][em]' . $extension . '[/em][/a]'); if ($extra != '') { $message .= ' ' . $extra;
hooks/post-receive