diff --git a/src/init.php b/src/init.php index 286fbe0..11cad78 100644 --- a/src/init.php +++ b/src/init.php @@ -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__) .'/');