mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
require php 5.6
This commit is contained in:
parent
104f66b099
commit
dafd4d81a6
1 changed files with 3 additions and 4 deletions
|
|
@ -7,10 +7,9 @@
|
|||
|
||||
define('MTT_VERSION', '@VERSION');
|
||||
|
||||
##### MyTinyTodo requires php 5.4.0 and above! #####
|
||||
if (version_compare(PHP_VERSION, '5.4.0') < 0) {
|
||||
# If you adopt the script for old php version, look at stop_gpc() function in the sources of MTT v1.6
|
||||
die("PHP 5.4+ is required");
|
||||
##### MyTinyTodo requires php 5.6 and above! #####
|
||||
if (version_compare(PHP_VERSION, '5.6.0') < 0) {
|
||||
die("PHP 5.6+ is required");
|
||||
}
|
||||
|
||||
if(!defined('MTTPATH')) define('MTTPATH', dirname(__FILE__) .'/');
|
||||
|
|
|
|||
Loading…
Reference in a new issue