Fixed notice in libraries/blobstreaming.lib.php when ['ServerDefault'] is set to 0
This commit is contained in:
@@ -30,10 +30,14 @@ function checkBLOBStreamingPlugins()
|
|||||||
|
|
||||||
// retrieve current server configuration
|
// retrieve current server configuration
|
||||||
$serverCfg = $PMA_Config->get('Servers');
|
$serverCfg = $PMA_Config->get('Servers');
|
||||||
|
|
||||||
|
if (isset($serverCfg[$GLOBALS['server']]))
|
||||||
$serverCfg = $serverCfg[$GLOBALS['server']];
|
$serverCfg = $serverCfg[$GLOBALS['server']];
|
||||||
|
else
|
||||||
|
$serverCfg = null;
|
||||||
|
|
||||||
// return if unable to retrieve current server configuration
|
// return if unable to retrieve current server configuration
|
||||||
if (! $serverCfg)
|
if (!isset($serverCfg))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
// if PHP extension in use is 'mysql', specify element 'PersistentConnections'
|
// if PHP extension in use is 'mysql', specify element 'PersistentConnections'
|
||||||
|
Reference in New Issue
Block a user