mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-17 19:19:17 -04:00
moved erro page from unit_test to gallery_unit_test
This commit is contained in:
13
modules/gallery_unit_test/views/kohana_error_page.php
Normal file
13
modules/gallery_unit_test/views/kohana_error_page.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
echo html::specialchars($error) . "\n";
|
||||
echo html::specialchars($description) . "\n";
|
||||
if ( ! empty($line) AND ! empty($file)) {
|
||||
echo $file . "[" . $line . "]:" . "\n";
|
||||
}
|
||||
echo $message . "\n";
|
||||
if ( ! empty($trace)) {
|
||||
$trace = preg_replace(array('/<li>/', '/<(.*?)>/', '/>/'), array("\t", '', '>'), $trace);
|
||||
echo Kohana::lang('core.stack_trace') . "\n";
|
||||
echo $trace . "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user