diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-10-31 22:12:14 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-10-31 22:12:14 +0000 |
| commit | eba717f95f586d2538007bd18da6e9b32b076c30 (patch) | |
| tree | 15fc596a270f9de0d163c66c96e3c65fca5ee100 /kohana/views/kohana_error_page.php | |
| parent | fff10f8b70376ef25722bd867df26bc5aefced43 (diff) | |
Merge over vendor code.
git-svn-id: http://gallery.svn.sourceforge.net/svnroot/gallery/trunk/eval/gx/gallery3/trunk@18408 57fcd75e-5312-0410-8df3-f5eb6fbb1595
Diffstat (limited to 'kohana/views/kohana_error_page.php')
| -rw-r--r-- | kohana/views/kohana_error_page.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/kohana/views/kohana_error_page.php b/kohana/views/kohana_error_page.php new file mode 100644 index 00000000..9e4bba88 --- /dev/null +++ b/kohana/views/kohana_error_page.php @@ -0,0 +1,26 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> +<title><?php echo $error ?></title> +<base href="http://php.net/" /> +</head> +<body> +<style type="text/css"> +<?php include Kohana::find_file('views', 'kohana_errors', FALSE, 'css') ?> +</style> +<div id="framework_error" style="width:42em;margin:20px auto;"> +<h3><?php echo html::specialchars($error) ?></h3> +<p><?php echo html::specialchars($description) ?></p> +<?php if ( ! empty($line) AND ! empty($file)): ?> +<p><?php echo Kohana::lang('core.error_file_line', $file, $line) ?></p> +<?php endif ?> +<p><code class="block"><?php echo $message ?></code></p> +<?php if ( ! empty($trace)): ?> +<h3><?php echo Kohana::lang('core.stack_trace') ?></h3> +<?php echo $trace ?> +<?php endif ?> +<p class="stats"><?php echo Kohana::lang('core.stats_footer') ?></p> +</div> +</body> +</html>
\ No newline at end of file |
