WIP
This commit is contained in:
parent
21977588d8
commit
f7fa124535
21 changed files with 388 additions and 58 deletions
|
|
@ -2,10 +2,12 @@
|
|||
|
||||
use Venom\Core\Config;
|
||||
use Venom\Core\Setup;
|
||||
use Venom\Helper\URLHelper;
|
||||
use Venom\Venom;
|
||||
|
||||
require_once '../vendor/autoload.php';
|
||||
Setup::loadConfig(false);
|
||||
session_start();
|
||||
Setup::loadConfig(URLHelper::getInstance()->isAdminUrl());
|
||||
Setup::loadLanguage();
|
||||
|
||||
$config = Config::getInstance();
|
||||
|
|
@ -21,4 +23,4 @@ if ($config->isDevMode()) {
|
|||
$venom = new Venom();
|
||||
Setup::loadRouters($venom);
|
||||
Setup::loadModules($venom);
|
||||
$venom->run();
|
||||
$venom->inject();
|
||||
Loading…
Add table
Add a link
Reference in a new issue