framework/base/CErrorHandler.php
protected function isCoreCode($trace)
	{
		if(isset($trace['file']))
		{
			$systemPath=realpath(dirname(__FILE__).'/..');
			return $trace['file']==='unknown' || strpos(realpath($trace['file']),$systemPath.DIRECTORY_SEPARATOR)===0;
		}
		return false;
	}
protected function isCoreCode($trace)
	{
		if(isset($trace['file']))
		{
			$systemPath=realpath(dirname(__FILE__).'/..');
			return $trace['file']==='unknown' || strpos(realpath($trace['file']),$systemPath.DIRECTORY_SEPARATOR)===0;
		}
		return false;
	}
protected function isCoreCode ( $ trace ) { if ( isset ( $ trace [ 'file' ] ) ) { $ systemPath = realpath ( dirname ( __FILE__ ) . '/..' ) ; return $ trace [ 'file' ] === 'unknown' || strpos ( realpath ( $ trace [ 'file' ] ) , $ systemPath . DIRECTORY_SEPARATOR ) === 0 ; } return false ; }
Returns a value indicating whether the call stack is from application code.
@param array $trace the trace data
@return boolean whether the call stack is from application code.
Returns a value indicating whether the call stack is from application code .