From 0953e3e21bf03eb578e9a7ad5e0485fa977374c0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 5 May 2003 20:24:57 +0000 Subject: [PATCH] gnu-patch #1245 --- phpgwapi/inc/class.db_pgsql.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.db_pgsql.inc.php b/phpgwapi/inc/class.db_pgsql.inc.php index 5e35624ab6..665d752901 100644 --- a/phpgwapi/inc/class.db_pgsql.inc.php +++ b/phpgwapi/inc/class.db_pgsql.inc.php @@ -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; }