PHP 7+ is required
This commit is contained in:
@@ -23,8 +23,8 @@ $sage_error = function ($message, $subtitle = '', $title = '') {
|
||||
/**
|
||||
* Ensure compatible version of PHP is used
|
||||
*/
|
||||
if (version_compare('5.6.4', phpversion(), '>=')) {
|
||||
$sage_error(__('You must be using PHP 5.6.4 or greater.', 'sage'), __('Invalid PHP version', 'sage'));
|
||||
if (version_compare('7', phpversion(), '>=')) {
|
||||
$sage_error(__('You must be using PHP 7 or greater.', 'sage'), __('Invalid PHP version', 'sage'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user