This commit is contained in:
Ralf Becker 2003-05-05 20:24:57 +00:00
parent 3d2edbc0a7
commit 0953e3e21b

View File

@ -60,12 +60,12 @@
{
$this->query($query);
if(ereg('xmlrpc.php',$GLOBALS['PHP_SELF']))
if (ereg('xmlrpc.php',$_SERVER['PHP_SELF']))
{
$this->xmlrpc = True;
}
if(ereg('soap.php',$GLOBALS['PHP_SELF']))
if (ereg('soap.php',$_SERVER['PHP_SELF']))
{
$this->soap = True;
}