mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-31 18:30:20 +02:00
Minimum PHP version for Monstra is 5.3.2
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* Monstra requires PHP 5.3.0 or greater
|
||||
* Monstra requires PHP 5.3.2 or greater
|
||||
*/
|
||||
if (version_compare(PHP_VERSION, "5.3.0", "<")) {
|
||||
exit("Monstra requires PHP 5.3.0 or greater.");
|
||||
if (version_compare(PHP_VERSION, "5.3.2", "<")) {
|
||||
exit("Monstra requires PHP 5.3.2 or greater.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -277,7 +277,7 @@
|
||||
|
||||
|
||||
<?php
|
||||
if (version_compare(PHP_VERSION, "5.2.3", "<")) {
|
||||
if (version_compare(PHP_VERSION, "5.3.2", "<")) {
|
||||
$errors['php'] = 'error';
|
||||
} else {
|
||||
$errors['php'] = '';
|
||||
|
Reference in New Issue
Block a user