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