mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 20:28:31 +00:00
move assert.exception to PocketMine.php with the other stuff
This commit is contained in:
parent
2bcb720668
commit
5c1f1f00cb
@ -140,6 +140,7 @@ namespace pocketmine {
|
|||||||
ini_set("display_startup_errors", '1');
|
ini_set("display_startup_errors", '1');
|
||||||
ini_set("default_charset", "utf-8");
|
ini_set("default_charset", "utf-8");
|
||||||
@ini_set("opcache.mmap_base", bin2hex(random_bytes(8))); //Fix OPCache address errors
|
@ini_set("opcache.mmap_base", bin2hex(random_bytes(8))); //Fix OPCache address errors
|
||||||
|
ini_set('assert.exception', '1');
|
||||||
}
|
}
|
||||||
|
|
||||||
function server(){
|
function server(){
|
||||||
|
@ -1074,8 +1074,6 @@ class Server{
|
|||||||
$this->logger->warning(str_repeat("-", 40));
|
$this->logger->warning(str_repeat("-", 40));
|
||||||
}
|
}
|
||||||
|
|
||||||
ini_set('assert.exception', '1');
|
|
||||||
|
|
||||||
$this->memoryManager = new MemoryManager($this);
|
$this->memoryManager = new MemoryManager($this);
|
||||||
|
|
||||||
$this->logger->info($this->getLanguage()->translateString("pocketmine.server.start", [TextFormat::AQUA . $this->getVersion() . TextFormat::RESET]));
|
$this->logger->info($this->getLanguage()->translateString("pocketmine.server.start", [TextFormat::AQUA . $this->getVersion() . TextFormat::RESET]));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user