[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_3_5RC1-5775-g31244e2

Michal Čihař nijel at users.sourceforge.net
Wed Jul 21 08:52:53 CEST 2010


The branch, master has been updated
       via  31244e29d5105e6d632526fb356bcbbac1acb9dc (commit)
      from  2fe1c8242648139381634dd7c95fe39e69f8d5fa (commit)


- Log -----------------------------------------------------------------
commit 31244e29d5105e6d632526fb356bcbbac1acb9dc
Author: Michal Čihař <mcihar at 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 at http://php.net/%1$s at Documentation][em]%1$s[/em][/a] extension. Please check your PHP configuration.'), $extension);
+    $message = sprintf(__('The %s extension is missing. Please check your PHP configuration.'),
+        sprintf('[a at http://php.net/%1$s at Documentation][em]%1$s[/em][/a]', $extension));
     if ($extra != '') {
         $message .= ' ' . $extra;
     }


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list