mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
backport 5c1f1f00cbbcc6460927b922f993f1de8e1e046c: move assert.exception to PocketMine.php with the other stuff
This commit is contained in:
parent
cc79dfa64c
commit
c063a4da29
@ -142,6 +142,7 @@ namespace pocketmine {
|
||||
ini_set("display_startup_errors", '1');
|
||||
ini_set("default_charset", "utf-8");
|
||||
@ini_set("opcache.mmap_base", bin2hex(random_bytes(8))); //Fix OPCache address errors
|
||||
ini_set('assert.exception', '1');
|
||||
}
|
||||
|
||||
function server(){
|
||||
|
@ -1565,8 +1565,6 @@ class Server{
|
||||
return;
|
||||
}
|
||||
|
||||
ini_set('assert.exception', '1');
|
||||
|
||||
if($this->logger instanceof MainLogger){
|
||||
$this->logger->setLogDebug(\pocketmine\DEBUG > 1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user