mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-04 12:17:42 +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.');
|
<?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", "<")) {
|
if (version_compare(PHP_VERSION, "5.3.2", "<")) {
|
||||||
exit("Monstra requires PHP 5.3.0 or greater.");
|
exit("Monstra requires PHP 5.3.2 or greater.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -277,7 +277,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (version_compare(PHP_VERSION, "5.2.3", "<")) {
|
if (version_compare(PHP_VERSION, "5.3.2", "<")) {
|
||||||
$errors['php'] = 'error';
|
$errors['php'] = 'error';
|
||||||
} else {
|
} else {
|
||||||
$errors['php'] = '';
|
$errors['php'] = '';
|
||||||
|
Reference in New Issue
Block a user