diff --git a/src/config.php b/src/config.php index cb3fbae49..81fba88ab 100644 --- a/src/config.php +++ b/src/config.php @@ -47,4 +47,4 @@ define("CURRENT_STRUCTURE", 5); define("CURRENT_PROTOCOL", 9); define("CURRENT_MINECRAFT_VERSION", "v0.6.1 alpha"); define("CURRENT_API_VERSION", 6); -define("CURRENT_PHP_VERSION", "5.4.13"); \ No newline at end of file +define("CURRENT_PHP_VERSION", "5.5"); \ No newline at end of file diff --git a/src/dependencies.php b/src/dependencies.php index f0722b4b5..9505727af 100644 --- a/src/dependencies.php +++ b/src/dependencies.php @@ -47,10 +47,10 @@ if(version_compare("5.4.0", PHP_VERSION) > 0){ } if(version_compare(CURRENT_PHP_VERSION, PHP_VERSION) > 0){ - console("[NOTICE] PocketMine-MP hasn't been tested with PHP < ".CURRENT_PHP_VERSION, true, true, 0); -}elseif(version_compare(CURRENT_PHP_VERSION, PHP_VERSION) < 0){ - console("[NOTICE] PocketMine-MP hasn't been tested with PHP > ".CURRENT_PHP_VERSION, true, true, 0); -} + console("[NOTICE] This PocketMine-MP version has not been tested with PHP < ".CURRENT_PHP_VERSION, true, true, 0); +}/*elseif(version_compare(CURRENT_PHP_VERSION, PHP_VERSION) < 0){ + console("[NOTICE] This PocketMine-MP version has not been tested with PHP > ".CURRENT_PHP_VERSION, true, true, 0); +}*/ if(php_sapi_name() !== "cli"){ console("[ERROR] You must run PocketMine-MP using the CLI.", true, true, 0);