Update PHP version check for 8.1.x
This commit is contained in:
parent
432e15699d
commit
2b80228f2a
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ require __DIR__.'/config.ini.php';
|
|||
|
||||
|
||||
// Check PHP version compatibility
|
||||
if (PHP_VERSION_ID < 80000)
|
||||
throw new Exception('Orcinus Site Search requires PHP version ">= 8.0.x". You are running '.PHP_VERSION.'.');
|
||||
if (PHP_VERSION_ID < 80100)
|
||||
throw new Exception('Orcinus Site Search requires PHP version ">= 8.1.x". You are running '.PHP_VERSION.'.');
|
||||
|
||||
|
||||
// ***** Connect to the database
|
||||
|
|
Loading…
Reference in a new issue