mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 08:56:15 +00:00
Add warning for xdebug on server startup
This commit is contained in:
@ -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")){
|
if(!extension_loaded("curl")){
|
||||||
$logger->critical("Unable to find the cURL extension.");
|
$logger->critical("Unable to find the cURL extension.");
|
||||||
++$errors;
|
++$errors;
|
||||||
|
Reference in New Issue
Block a user