mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
PHP 7.2 - minimal required version
This commit is contained in:
parent
82318c6df0
commit
a269392d48
1 changed files with 2 additions and 3 deletions
|
|
@ -5,9 +5,8 @@
|
|||
Licensed under the GNU GPL version 2 or any later. See file COPYRIGHT for details.
|
||||
*/
|
||||
|
||||
##### MyTinyTodo requires php 7.0 and above! #####
|
||||
if (version_compare(PHP_VERSION, '7.0.0') < 0) {
|
||||
die("PHP 7.0+ is required");
|
||||
if (version_compare(PHP_VERSION, '7.2.0') < 0) {
|
||||
die("PHP 7.2 or above is required");
|
||||
}
|
||||
|
||||
if(!defined('MTTPATH')) define('MTTPATH', dirname(__FILE__) .'/');
|
||||
|
|
|
|||
Loading…
Reference in a new issue