diff --git a/public/index.php b/public/index.php index e677f92..ae306c4 100644 --- a/public/index.php +++ b/public/index.php @@ -60,10 +60,8 @@ $container['logger'] = function () { }; // teamspeak -$ts = new TSInstance(); -$_SESSION['_TS3'] = serialize($ts); -$container['ts'] = function () use ($ts) { - return $ts; +$container['ts'] = function () { + return new TSInstance(); }; // auth