1
0
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:
Awilum
2015-11-07 01:44:19 +03:00
parent e5241f6a5f
commit 797d9e0f18
2 changed files with 4 additions and 4 deletions

View File

@@ -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.");
} }
/** /**

View File

@@ -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'] = '';