Changeset 6037 for trunk/phpgwapi
- Timestamp:
- 04/26/12 11:43:10 (12 years ago)
- Location:
- trunk/phpgwapi/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.interserver.inc.php
r2 r6037 81 81 function interserver($serverid='') 82 82 { 83 $url = eregi_replace('https*://[^/]*/','',$GLOBALS['phpgw_info']['server']['webserver_url']);83 $url = preg_replace('/https*:\/\/[^\/]*\//i','',$GLOBALS['phpgw_info']['server']['webserver_url']); 84 84 $this->urlparts = array( 85 85 'xmlrpc' => $url.'/xmlrpc.php', -
trunk/phpgwapi/inc/class.sessions.inc.php
r5281 r6037 1184 1184 if( preg_match('/\[\]/i', $b[0]) ) 1185 1185 { 1186 $b[0] = eregi_replace("\[\]", "[$i]", $b[0]);1186 $b[0] = preg_replace('/\[\]/i', "[$i]", $b[0]); 1187 1187 } 1188 1188 } -
trunk/phpgwapi/inc/class.xml.inc.php
r5928 r6037 3378 3378 3379 3379 // Replace the last separator. 3380 $command = eregi_replace(", $", ");", $command);3380 $command = preg_replace('/, $/i', ');', $command); 3381 3381 3382 3382 // Execute the command.
Note: See TracChangeset
for help on using the changeset viewer.