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:
Diffstat (limited to 'libraries/ServerStatusData.class.php')
-rw-r--r--libraries/ServerStatusData.class.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/libraries/ServerStatusData.class.php b/libraries/ServerStatusData.class.php
index 3806dfe365..223c7ed48e 100644
--- a/libraries/ServerStatusData.class.php
+++ b/libraries/ServerStatusData.class.php
@@ -281,14 +281,11 @@ class PMA_ServerStatusData
// Variable to mark used sections
$categoryUsed = array();
- /** @var PMA_String $pmaString */
- $pmaString = $GLOBALS['PMA_String'];
-
// sort vars into arrays
foreach ($server_status as $name => $value) {
$section_found = false;
foreach ($allocations as $filter => $section) {
- if ($pmaString->strpos($name, $filter) !== false) {
+ if (/*overload*/mb_strpos($name, $filter) !== false) {
$allocationMap[$name] = $section;
$categoryUsed[$section] = true;
$section_found = true;
@@ -319,7 +316,7 @@ class PMA_ServerStatusData
// Set all class properties
$this->db_isLocal = false;
- if ($pmaString->strtolower($GLOBALS['cfg']['Server']['host']) === 'localhost'
+ if (/*overload*/mb_strtolower($GLOBALS['cfg']['Server']['host']) === 'localhost'
|| $GLOBALS['cfg']['Server']['host'] === '127.0.0.1'
|| $GLOBALS['cfg']['Server']['host'] === '::1'
) {