Location: PHPKode > projects > TeamSpeak3 ChannelWatcher > devMX-TeamSpeak3-ChannelWatcher-f5257dd/app.php
<?php

/**
 * This file is part of the Teamspeak3 ChannelWatcher.
 * Copyright (C) 2012 drak3 <hide@address.com>
 * Copyright (C) 2012 Maxe <hide@address.com>
 * 
 * The Teamspeak3 ChannelWatcher is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * The Teamspeak3 ChannelWatcher is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with the Teamspeak3 ChannelWatcher.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */

use devmx\ChannelWatcher\DependencyInjection\AppContainer;

//we want to catch the early errors, as they are not handled by the application
error_reporting(-1);
require_once 'vendor/autoload.php';

$c = new AppContainer;

$c['debug'] = false;

$c['root_dir'] = __DIR__;

$app = $c['application'];
$app->setAutoExit(false);
$app->run();
?>
Return current item: TeamSpeak3 ChannelWatcher