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:
authorMarc Delisle <marc@infomarc.info>2014-02-11 21:53:32 +0400
committerMarc Delisle <marc@infomarc.info>2014-02-11 21:53:32 +0400
commit3fa7915575d8e13029e3962077ccf1ca98c14d39 (patch)
treecbf5e34e0fd2f21ccb5f2bcdb1483b869baa36c6 /index.php
parent23abcfbf475e803f3e800f8a4cbda16725e01e4c (diff)
parent52084d839ce63aefd16a9c21f8fa6354b091490d (diff)
Merge commit '52084d8'
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 c044588340..9c92073a20 100644
--- a/index.php
+++ b/index.php
@@ -316,10 +316,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'