summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2015-11-30 14:02:24 +0100
committerUrban Müller2015-11-30 14:03:33 +0100
commit2a9fe38e75a5a991981c5e6f4aa2e6f43c392b36 (patch)
tree9c4e9514aa12c4151bef048b13948d864e41e570 /it.class
parent5e6edc6bf5ba3d7dde7b861029ce6ac79787bb30 (diff)
downloaditools-2a9fe38e75a5a991981c5e6f4aa2e6f43c392b36.tar.gz
itools-2a9fe38e75a5a991981c5e6f4aa2e6f43c392b36.tar.bz2
itools-2a9fe38e75a5a991981c5e6f4aa2e6f43c392b36.zip
adapt to new stackdump offsets
Diffstat (limited to 'it.class')
-rw-r--r--it.class4
1 files changed, 1 insertions, 3 deletions
diff --git a/it.class b/it.class
index d44d502..8159dd5 100644
--- a/it.class
+++ b/it.class
@@ -262,9 +262,7 @@ static function error($p = array())
*/
static function fatal($p)
{
- $p = is_array($p) ? $p : array('title' => $p);
- $p['backtraceskip']++;
- it::error($p);
+ it::error(array('backtraceskip' => 2) + (is_array($p) ? $p : array('title' => $p)));
if ($_SERVER['REMOTE_ADDR'])
header("HTTP/1.0 500 Internal Server Error");
exit(99);