Changeset 5912 for trunk/phpgwapi/inc/class.soap_server.inc.php
- Timestamp:
- 04/11/12 12:04:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.soap_server.inc.php
r5509 r5912 92 92 { 93 93 $action = str_replace('"','',$headers_array["SOAPAction"]); 94 if( ereg("^urn:",$action))94 if(preg_match('/^urn:/',$action)) 95 95 { 96 96 $this->service = substr($action,4); 97 97 } 98 elseif( ereg(".php",$action))98 elseif(preg_match('/.php/',$action)) 99 99 { 100 100 $this->service = ereg_replace('"|/','',substr(strrchr($action,".php"),4,strlen(strrchr($action,"/")))); … … 126 126 /* egroupware customization - createobject based on methodname */ 127 127 list($app,$class,$method) = explode('.',$this->methodname); 128 if( ereg("^service",$app))128 if(preg_match('/^service/',$app)) 129 129 { 130 130 $args = $class;
Note: See TracChangeset
for help on using the changeset viewer.