mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
require PHP 7.0+
This commit is contained in:
parent
b9fd47b182
commit
145b58f7cf
1 changed files with 3 additions and 3 deletions
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
define('MTT_VERSION', '@VERSION');
|
||||
|
||||
##### MyTinyTodo requires php 5.6 and above! #####
|
||||
if (version_compare(PHP_VERSION, '5.6.0') < 0) {
|
||||
die("PHP 5.6+ is required");
|
||||
##### MyTinyTodo requires php 7.0 and above! #####
|
||||
if (version_compare(PHP_VERSION, '7.0.0') < 0) {
|
||||
die("PHP 7.0+ is required");
|
||||
}
|
||||
|
||||
if(!defined('MTTPATH')) define('MTTPATH', dirname(__FILE__) .'/');
|
||||
|
|
|
|||
Loading…
Reference in a new issue