-if (empty(Config::get('system', 'pidfile'))) {
- die('Please set system.pidfile in config/local.ini.php. For example:'."\n".
- '[system]'."\n".
- 'pidfile = /path/to/daemon.pid'."\n");
+if (empty(DI::config()->get('system', 'pidfile'))) {
+ die(<<<TXT
+Please set system.pidfile in config/local.config.php. For example:
+
+ 'system' => [
+ 'pidfile' => '/path/to/daemon.pid',
+ ],
+TXT
+ );