| Name | Size | Mode | Actions |
|---|---|---|---|
| compat/ | - | 0755 | rm |
| Benchmark.php | 4088 | 0644 | editdlrm |
| CodeIgniter.php | 16144 | 0644 | editdlrm |
| Common.php | 22026 | 0644 | editdlrm |
| Config.php | 9351 | 0644 | editdlrm |
| Controller.php | 3037 | 0644 | editdlrm |
| Exceptions.php | 7329 | 0644 | editdlrm |
| Hooks.php | 6326 | 0644 | editdlrm |
| index.html | 131 | 0644 | editdlrm |
| Input.php | 23834 | 0644 | editdlrm |
| Lang.php | 5540 | 0644 | editdlrm |
| Loader.php | 37149 | 0644 | editdlrm |
| Log.php | 7644 | 0644 | editdlrm |
| Model.php | 2573 | 0644 | editdlrm |
| Output.php | 21299 | 0644 | editdlrm |
| Router.php | 13226 | 0644 | editdlrm |
| Security.php | 29860 | 0644 | editdlrm |
| URI.php | 15275 | 0644 | editdlrm |
| Utf8.php | 4489 | 0644 | editdlrm |
/home/desid573/public_html/ims2/system/core/Exceptions.php (7329B)
'.(is_array($message) ? implode('
', $message) : $message).'
'; $template = 'html'.DIRECTORY_SEPARATOR.$template; } if (ob_get_level() > $this->ob_level + 1) { ob_end_flush(); } ob_start(); include($templates_path.$template.'.php'); $buffer = ob_get_contents(); ob_end_clean(); return $buffer; } // -------------------------------------------------------------------- public function show_exception($exception) { $templates_path = config_item('error_views_path'); if (empty($templates_path)) { $templates_path = VIEWPATH.'errors'.DIRECTORY_SEPARATOR; } $message = $exception->getMessage(); if (empty($message)) { $message = '(null)'; } if (is_cli()) { $templates_path .= 'cli'.DIRECTORY_SEPARATOR; } else { $templates_path .= 'html'.DIRECTORY_SEPARATOR; } if (ob_get_level() > $this->ob_level + 1) { ob_end_flush(); } ob_start(); include($templates_path.'error_exception.php'); $buffer = ob_get_contents(); ob_end_clean(); echo $buffer; } // -------------------------------------------------------------------- /** * Native PHP error handler * * @param int $severity Error level * @param string $message Error message * @param string $filepath File path * @param int $line Line number * @return void */ public function show_php_error($severity, $message, $filepath, $line) { $templates_path = config_item('error_views_path'); if (empty($templates_path)) { $templates_path = VIEWPATH.'errors'.DIRECTORY_SEPARATOR; } $severity = isset($this->levels[$severity]) ? $this->levels[$severity] : $severity; // For safety reasons we don't show the full file path in non-CLI requests if ( ! is_cli()) { $filepath = str_replace('\\', '/', $filepath); if (FALSE !== strpos($filepath, '/')) { $x = explode('/', $filepath); $filepath = $x[count($x)-2].'/'.end($x); } $template = 'html'.DIRECTORY_SEPARATOR.'error_php'; } else { $template = 'cli'.DIRECTORY_SEPARATOR.'error_php'; } if (ob_get_level() > $this->ob_level + 1) { ob_end_flush(); } ob_start(); include($templates_path.$template.'.php'); $buffer = ob_get_contents(); ob_end_clean(); echo $buffer; } }