Add PHP Version check on the start of loading

This commit is contained in:
slawkens 2020-02-15 05:07:51 +01:00
parent 2070f91a8f
commit 1cd3ebf3bb

View File

@ -23,6 +23,7 @@
* @copyright 2019 MyAAC
* @link https://my-aac.org
*/
if (version_compare(phpversion(), '5.3.3', '<')) die('PHP version 5.3.3 or higher is required.');
session_start();
define('MYAAC', true);