Ignore:
Timestamp:
2013/03/01 18:57:08 (13 years ago)
Author:
pineray
Message:

関数の呼び出し部分で引数の初期化はできない

Location:
branches/version-2_12-dev/data/class/helper
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_HandleError.php

    r22567 r22592  
    131131    static function &_fatal_error_handler(&$buffer) 
    132132    { 
    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)) { 
    134134            $message = "$matches[1]: $matches[2] on [$matches[3]($matches[4])]"; 
    135135            GC_Utils_Ex::gfPrintLog($message, ERROR_LOG_REALFILE, true); 
  • branches/version-2_12-dev/data/class/helper/SC_Helper_Mobile.php

    r22567 r22592  
    131131    function lfMobileGetExtSessionId() 
    132132    { 
    133         if (!preg_match('|^' . ROOT_URLPATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches = array())) { 
     133        if (!preg_match('|^' . ROOT_URLPATH . '(.*)$|', $_SERVER['SCRIPT_NAME'], $matches)) { 
    134134            return null; 
    135135        } 
Note: See TracChangeset for help on using the changeset viewer.