From fbf422787e50cad927f0f05558fcf74f6a04f0e7 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 22 Jan 2005 22:46:17 +0000 Subject: [PATCH] PHP version requirement of 4.1.0+ --- kernel.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel.php b/kernel.php index aad9db9..1042bd3 100644 --- a/kernel.php +++ b/kernel.php @@ -14,6 +14,12 @@ define('ERR_FATAL', E_USER_ERROR); define('ERR_ERROR', E_USER_WARNING); define('ERR_WARNING', E_USER_NOTICE); +if (PHP_VERSION < '4.1.0') +{ + trigger_error('You need PHP version 4.1.0 or newer to run ISSO', ERR_FATAL); + exit; +} + if ((bool)ini_get('register_globals') === true) { $superglobals = array('_GET', '_COOKIE', '_FILES', '_POST', '_SERVER', '_ENV'); -- 2.43.5