move assert.exception to PocketMine.php with the other stuff

This commit is contained in:
Dylan K. Taylor
2019-08-25 18:18:14 +01:00
parent 2bcb720668
commit 5c1f1f00cb
2 changed files with 1 additions and 2 deletions

View File

@ -140,6 +140,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(){