Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhananjay Nakrani <dhananjaynakrani@gmail.com>2014-02-09 12:36:36 +0400
committerDhananjay Nakrani <dhananjaynakrani@gmail.com>2014-02-09 12:36:36 +0400
commit52084d839ce63aefd16a9c21f8fa6354b091490d (patch)
tree71f977ea28ab8b11de45e6709ba234240b722611 /index.php
parentd32e6af2abf70793091f991339f6d36202959283 (diff)
Fix for Bug#4275
Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Diffstat (limited to 'index.php')
-rw-r--r--index.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/index.php b/index.php
index 61328fd68c..5424629f83 100644
--- a/index.php
+++ b/index.php
@@ -305,10 +305,14 @@ if ($GLOBALS['cfg']['ShowServerInfo'] || $GLOBALS['cfg']['ShowPhpInfo']) {
);
$php_ext_string = __('PHP extension:') . ' '
- . $GLOBALS['cfg']['Server']['extension'] . ' '
- . PMA_Util::showPHPDocu(
- 'book.' . $GLOBALS['cfg']['Server']['extension'] . '.php'
- );
+ . $GLOBALS['cfg']['Server']['extension'] . ' ';
+ if (!empty($GLOBALS['cfg']['Server']['extension'])) {
+ $php_ext_string .= PMA_Util::showPHPDocu('book.' . $GLOBALS['cfg']['Server']['extension'] . '.php' );
+ }
+ else {
+ $php_ext_string .= __('None');
+ }
+
PMA_printListItem(
$php_ext_string,
'li_used_php_extension'