improved log file writing to log all errors

This commit is contained in:
Steffen Schröder
2014-06-12 14:02:16 +02:00
parent f0e325fda0
commit b1decafc1d
3 changed files with 5 additions and 10 deletions

View File

@ -252,7 +252,9 @@ class ManiaControl implements CommandListener, TimerListener {
$command = escapeshellarg(ManiaControlDir . "ManiaControl.bat");
system($command); // TODO, windows stucks here as long controller is running
}
exit();
// Quit the old instance
$this->quit('Quitting ManiaControl to restart.');
}
/**