forked from extern/egroupware
gnu-patch #1245
This commit is contained in:
parent
3d2edbc0a7
commit
0953e3e21b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user