mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Added config to warn if assertions are enabled and to disable exception throws
This commit is contained in:
@ -85,6 +85,12 @@ network:
|
||||
|
||||
debug:
|
||||
#To enable assertion execution, set zend.assertions in your php.ini to 1
|
||||
assertions:
|
||||
#Warn if assertions are enabled in php.ini, due to assertions may impact on runtime performance if enabled.
|
||||
warn-if-enabled: true
|
||||
#Enable throwing exceptions when assertions fail, will allow obtaining more detailed information on the failed assertion, but may cause a server crash.
|
||||
#If set to false, a warning will be raised instead of throwing an exception.
|
||||
throw-exception: false
|
||||
#If > 1, it will show debug messages in the console
|
||||
level: 1
|
||||
#Enables /status, /gc
|
||||
|
Reference in New Issue
Block a user