Server starts!

This commit is contained in:
Dylan K. Taylor 2017-06-03 21:34:45 +01:00
parent 51b0673b4b
commit 481114281e
2 changed files with 5 additions and 5 deletions

View File

@ -144,12 +144,12 @@ namespace pocketmine {
}
});
ini_set("allow_url_fopen", 1);
ini_set("display_errors", 1);
ini_set("display_startup_errors", 1);
ini_set("allow_url_fopen", '1');
ini_set("display_errors", '1');
ini_set("display_startup_errors", '1');
ini_set("default_charset", "utf-8");
ini_set("memory_limit", -1);
ini_set("memory_limit", '-1');
define('pocketmine\START_TIME', microtime(true));
$opts = getopt("", ["data:", "plugins:", "no-wizard", "enable-profiler"]);

View File

@ -38,7 +38,7 @@ class AsyncWorker extends Worker{
public function run(){
$this->registerClassLoader();
gc_enable();
ini_set("memory_limit", -1);
ini_set("memory_limit", '-1');
global $store;
$store = [];