improved log file writing to log all errors

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

No files matched your search

+3 -1
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.');
}
/**