mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-15 20:26:27 +00:00
14 lines
382 B
PHP
14 lines
382 B
PHP
|
<?php
|
||
|
|
||
|
// PHP 5.3 minimum
|
||
|
if (version_compare(PHP_VERSION, '5.3.3', '<')) {
|
||
|
die('This software require PHP 5.3.3 minimum');
|
||
|
}
|
||
|
|
||
|
// Short tags must be enabled for PHP < 5.4
|
||
|
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
|
||
|
|
||
|
if (! ini_get('short_open_tag')) {
|
||
|
die('This software require to have short tags enabled, check your php.ini => "short_open_tag = On"');
|
||
|
}
|
||
|
}
|