mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-08 14:56:35 +02:00
Set minimum PHP version to 5.4.0
This commit is contained in:
@@ -40,7 +40,7 @@ class Bootstrap {
|
|||||||
|
|
||||||
|
|
||||||
// PHP
|
// PHP
|
||||||
define("MIN_PHP_VERSION", "5.3.0");
|
define("MIN_PHP_VERSION", "5.4.0");
|
||||||
define("HAS_PHP_VERSION", version_compare(PHP_VERSION, MIN_PHP_VERSION) >= 0);
|
define("HAS_PHP_VERSION", version_compare(PHP_VERSION, MIN_PHP_VERSION) >= 0);
|
||||||
define("HAS_PHP_EXIF", function_exists("exif_thumbnail"));
|
define("HAS_PHP_EXIF", function_exists("exif_thumbnail"));
|
||||||
$has_php_jpg = false;
|
$has_php_jpg = false;
|
||||||
|
Reference in New Issue
Block a user