diff options
author | Christian Weber | 2007-07-13 14:46:44 +0000 |
---|---|---|
committer | Christian Weber | 2007-07-13 14:46:44 +0000 |
commit | 0b34b03a158da609178ae1e885b47dc9a4d67d3d (patch) | |
tree | f7b2f429b5217985067200e12bf3d5e7b6e8fb93 /it.class | |
parent | 638519c5a3d67c721613de3d31a9b4bad0d28a49 (diff) | |
download | itools-0b34b03a158da609178ae1e885b47dc9a4d67d3d.tar.gz itools-0b34b03a158da609178ae1e885b47dc9a4d67d3d.tar.bz2 itools-0b34b03a158da609178ae1e885b47dc9a4d67d3d.zip |
php4 compatibility
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,7 +117,7 @@ function error($p = array(), $body = "", $to = "") if (!$title) $title="Error in $url"; - if (memory_get_usage() < 50000000) + if (!function_exists('memory_get_usasge') || (memory_get_usage() < 50000000)) { $trace = "\n\nTrace: " . it_debug::backtrace(); $stack = "\n\nStack:\n" . print_r(debug_backtrace(), true); |