detect wrong php version, helps to fix #50
This commit is contained in:
parent
df8559fe3b
commit
fd7d5121e4
|
@ -1,4 +1,8 @@
|
|||
<?php
|
||||
if (version_compare(phpversion(), '7.2', '<')) {
|
||||
die("ERROR! The php version isn't high enough, you need at least 7.2 to run this application! But you have: " . phpversion());
|
||||
}
|
||||
|
||||
# set the new path of config.php (must be in a safe location outside the `public_html`)
|
||||
require_once '../../config.php';
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user