From 0b34b03a158da609178ae1e885b47dc9a4d67d3d Mon Sep 17 00:00:00 2001 From: Christian Weber Date: Fri, 13 Jul 2007 14:46:44 +0000 Subject: php4 compatibility --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3