Stop RakLib spamming the console when php.ini has a bad timezone

This commit is contained in:
Dylan K. Taylor 2018-06-12 21:18:33 +01:00
parent 2e9e44ba05
commit e36a6dc8cc

View File

@ -92,7 +92,7 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
}
public function start(){
$this->rakLib->start(PTHREADS_INHERIT_CONSTANTS); //HACK: constants needed for cleanPath() in case of exception logging on MainLogger
$this->rakLib->start(PTHREADS_INHERIT_CONSTANTS | PTHREADS_INHERIT_INI); //HACK: MainLogger needs INIT and constants
}
public function setNetwork(Network $network){