aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/application.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/application.php b/core/application.php
index 80952fd..5bbc5d1 100644
--- a/core/application.php
+++ b/core/application.php
@@ -9,6 +9,13 @@
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
#===============================================================================
+# Check for minimum required PHP version
+#===============================================================================
+if(!version_compare(PHP_VERSION, '7.3', '>=')) {
+ exit('ABORT: This application requires at least PHP 7.3 to run.');
+}
+
+#===============================================================================
# Document root
#===============================================================================
define('ROOT', dirname(__DIR__).'/');