Changeset 22592 for branches/version-2_12-dev/data/class/helper
- Timestamp:
- 2013/03/01 18:57:08 (13 years ago)
- Location:
- branches/version-2_12-dev/data/class/helper
- Files:
-
- 2 edited
-
SC_Helper_HandleError.php (modified) (1 diff)
-
SC_Helper_Mobile.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_HandleError.php
r22567 r22592 131 131 static function &_fatal_error_handler(&$buffer) 132 132 { 133 if (preg_match('/<b>(Fatal error)<\/b>: +(.+) in <b>(.+)<\/b> on line <b>(\d+)<\/b><br \/>/i', $buffer, $matches = array())) {133 if (preg_match('/<b>(Fatal error)<\/b>: +(.+) in <b>(.+)<\/b> on line <b>(\d+)<\/b><br \/>/i', $buffer, $matches)) { 134 134 $message = "$matches[1]: $matches[2] on [$matches[3]($matches[4])]"; 135 135 GC_Utils_Ex::gfPrintLog($message, ERROR_LOG_REALFILE, true); -
branches/version-2_12-dev/data/class/helper/SC_Helper_Mobile.php
r22567 r22592 131 131 function lfMobileGetExtSessionId() 132 132 { 133 if (!preg_match('|^' . ROOT_URLPATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches = array())) {133 if (!preg_match('|^' . ROOT_URLPATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches)) { 134 134 return null; 135 135 }
Note: See TracChangeset
for help on using the changeset viewer.
