tournaments 2.0
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<?php
|
||||
|
||||
use Core\Config;
|
||||
use Insallah\Tournaments\Tournament;
|
||||
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
ini_set('display_errors', 'Off');
|
||||
setlocale(LC_CTYPE, "ru_RU.CP1251");
|
||||
@@ -33,9 +36,8 @@ spl_autoload_register(function ($className) {
|
||||
});
|
||||
|
||||
$code = '1';
|
||||
\Core\Config::init();
|
||||
$c = \Core\Config::get();
|
||||
Config::init();
|
||||
$c = Config::get();
|
||||
|
||||
//Tournament::startAllBattles();
|
||||
|
||||
if (isset($_GET['version'])) {
|
||||
die('Version: ' . $c['ver']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user