summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weber2007-07-13 14:46:44 +0000
committerChristian Weber2007-07-13 14:46:44 +0000
commit0b34b03a158da609178ae1e885b47dc9a4d67d3d (patch)
treef7b2f429b5217985067200e12bf3d5e7b6e8fb93
parent638519c5a3d67c721613de3d31a9b4bad0d28a49 (diff)
downloaditools-0b34b03a158da609178ae1e885b47dc9a4d67d3d.tar.gz
itools-0b34b03a158da609178ae1e885b47dc9a4d67d3d.tar.bz2
itools-0b34b03a158da609178ae1e885b47dc9a4d67d3d.zip
php4 compatibility
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index f30b5f8..277439a 100644
--- a/it.class
+++ b/it.class
@@ -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);