git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
show exception stack traces when debugging is on
[phorkie.git]
/
www
/
www-header.php
diff --git
a/www/www-header.php
b/www/www-header.php
index 77ee7583c5cd97c5129c49df7777243c66f4b04f..0a3b5628ce0d9c2e33c413b6b5e73a3a1c415fb0 100644
(file)
--- a/
www/www-header.php
+++ b/
www/www-header.php
@@
-21,7
+21,13
@@
set_exception_handler(
} else {
header('HTTP/1.0 500 Internal server error');
}
- render('exception', array('exception' => $e));
+ render(
+ 'exception',
+ array(
+ 'exception' => $e,
+ 'debug' => $GLOBALS['phorkie']['cfg']['debug']
+ )
+ );
exit();
}
);