Subversion Repositories ALCASAR

Rev

Rev 2775 | Rev 3037 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2775 Rev 2976
Line 227... Line 227...
227
        foreach ($arrTrace as $val) {
227
        foreach ($arrTrace as $val) {
228
            // avoid the last line, which says the error is from the error class
228
            // avoid the last line, which says the error is from the error class
229
            if ($val == $arrTrace[count($arrTrace) - 1]) {
229
            if ($val == $arrTrace[count($arrTrace) - 1]) {
230
                break;
230
                break;
231
            }
231
            }
-
 
232
            if (isset($val['file'])) {
232
            $strBacktrace .= str_replace(PSI_APP_ROOT, ".", $val['file']).' on line '.$val['line'];
233
                $strBacktrace .= str_replace(PSI_APP_ROOT, ".", $val['file']).' on line '.$val['line'];
-
 
234
            }
233
            if ($strFunc) {
235
            if ($strFunc) {
234
                $strBacktrace .= ' in function '.$strFunc;
236
                $strBacktrace .= ' in function '.$strFunc;
235
            }
237
            }
236
            if ($val['function'] == 'include' || $val['function'] == 'require' || $val['function'] == 'include_once' || $val['function'] == 'require_once') {
238
            if ($val['function'] == 'include' || $val['function'] == 'require' || $val['function'] == 'include_once' || $val['function'] == 'require_once') {
237
                $strFunc = '';
239
                $strFunc = '';