Modified: freeswitch/trunk/contrib/intralanman/PHP/fs_curl/fs_curl.php (14820 => 14821)
--- freeswitch/trunk/contrib/intralanman/PHP/fs_curl/fs_curl.php 2009-09-11 02:51:54 UTC (rev 14820)
+++ freeswitch/trunk/contrib/intralanman/PHP/fs_curl/fs_curl.php 2009-09-11 02:56:29 UTC (rev 14821)
@@ -193,8 +193,8 @@
sprintf('Total # of Queries Run: %d', $this->db->counter)
);
$this -> comment(sprintf("Estimated Execution Time Is: %s"
- , (ereg_replace(
- '^0\.([0-9]+) ([0-9]+)$', '\2.\1', microtime()) - START_TIME)
+ , (preg_replace(
+ '/^0\.(\d+) (\d+)$/', '\2.\1', microtime()) - START_TIME)
));
$this -> comments2xml($this -> xmlw, $this -> comments);
@@ -320,6 +320,7 @@
syslog(LOG_NOTICE, $debug_str);
break;
case 1:
+ $debug_str = preg_replace('/-/', ' - ', $debug_str);
$this -> comment($debug_str);
break;
case 2: