Make sure sqlvalidator_error is always defined.
This commit is contained in:
@@ -34,11 +34,13 @@ if (! defined('PHPMYADMIN')) {
|
|||||||
* Load SOAP client.
|
* Load SOAP client.
|
||||||
*/
|
*/
|
||||||
if (class_exists('SOAPClient')) {
|
if (class_exists('SOAPClient')) {
|
||||||
|
$GLOBALS['sqlvalidator_error'] = false;
|
||||||
$GLOBALS['sqlvalidator_soap'] = 'PHP';
|
$GLOBALS['sqlvalidator_soap'] = 'PHP';
|
||||||
} else {
|
} else {
|
||||||
@include_once 'SOAP/Client.php';
|
@include_once 'SOAP/Client.php';
|
||||||
if (class_exists('SOAP_Client')) {
|
if (class_exists('SOAP_Client')) {
|
||||||
$GLOBALS['sqlvalidator_soap'] = 'PEAR';
|
$GLOBALS['sqlvalidator_soap'] = 'PEAR';
|
||||||
|
$GLOBALS['sqlvalidator_error'] = false;
|
||||||
} else {
|
} else {
|
||||||
$GLOBALS['sqlvalidator_soap'] = 'NONE';
|
$GLOBALS['sqlvalidator_soap'] = 'NONE';
|
||||||
$GLOBALS['sqlvalidator_error'] = TRUE;
|
$GLOBALS['sqlvalidator_error'] = TRUE;
|
||||||
|
Reference in New Issue
Block a user