fixed some developing stuff

This commit is contained in:
kremsy 2015-06-21 20:47:11 +02:00
parent fa899e87a8
commit 12e72c7398
2 changed files with 1 additions and 3 deletions

View File

@ -21,7 +21,7 @@ define('MANIACONTROL_PATH', __DIR__ . DIRECTORY_SEPARATOR);
define('ManiaControlDir', MANIACONTROL_PATH);
// Set process settings
ini_set('memory_limit', '512M');
ini_set('memory_limit', '64M');
if (!ini_get('date.timezone') && function_exists('date_default_timezone_set')) {
date_default_timezone_set('UTC');
}

View File

@ -112,8 +112,6 @@ class PlayerManager implements CallbackListener, TimerListener, EchoListener {
// Echo Warn Command (Usage: sendEcho json_encode("player" => "loginName")
$this->maniaControl->getEchoManager()->registerEchoListener(self::ECHO_WARN_PLAYER, $this, function ($params) {
$this->playerActions->warnPlayer(null, $params->player, false);
return "abcdef";
});
}