Add warning for xdebug on server startup

This commit is contained in:
Dylan K. Taylor 2016-10-21 13:44:38 +01:00
parent 1c41667b9b
commit 0163555d3e

View File

@ -415,6 +415,15 @@ namespace pocketmine {
}
}
if(extension_loaded("xdebug")){
$logger->warning("
You are running PocketMine with xdebug enabled. This has a major impact on performance.
");
}
if(!extension_loaded("curl")){
$logger->critical("Unable to find the cURL extension.");
++$errors;