mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 08:34:33 +00:00
62d6e19ee9
It's still a work in progress, there are a lot of things that will change in the final release
15 lines
573 B
PHP
15 lines
573 B
PHP
<?php
|
|
use TravianZ\Controllers\FrontController;
|
|
|
|
define("ROOT_DIR", __DIR__ . DIRECTORY_SEPARATOR);
|
|
define("TEMPLATES_DIR", ROOT_DIR . 'templates' . DIRECTORY_SEPARATOR);
|
|
define("ASSETS_DIR", ROOT_DIR . 'assets' . DIRECTORY_SEPARATOR);
|
|
define("CONFIG_DIR", ROOT_DIR . 'config' . DIRECTORY_SEPARATOR);
|
|
define("SRC_DIR", ROOT_DIR . 'src' . DIRECTORY_SEPARATOR);
|
|
define("VENDOR_DIR", ROOT_DIR . 'vendor' . DIRECTORY_SEPARATOR);
|
|
|
|
require CONFIG_DIR . 'config.php';
|
|
require SRC_DIR . 'Lang\en.php';
|
|
require VENDOR_DIR . 'autoload.php';
|
|
|
|
$frontController = new FrontController(); |