From 1f06b181bb21c6f34a6c8f3623b4308101930112 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 21 Dec 2004 06:28:12 +0000 Subject: [PATCH] r10: Added PHP version checking to includes/init.php. --- includes/init.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/includes/init.php b/includes/init.php index 5d1a325..f78d047 100755 --- a/includes/init.php +++ b/includes/init.php @@ -12,6 +12,14 @@ error_reporting(E_ALL & ~E_NOTICE); +// ################################################################### +if (PHP_VERSION < '4.1.0') +{ + echo 'you do not have a new enough version of PHP'; + exit; +} + +// ################################################################### // set quotes runtime set_magic_quotes_runtime(0); -- 2.43.5