2018-06-16 16:41:58 +02:00
|
|
|
<?php
|
|
|
|
|
2020-12-20 01:25:51 +01:00
|
|
|
use Formwork\Formwork;
|
2018-06-16 16:41:58 +02:00
|
|
|
|
2019-10-05 00:48:40 +02:00
|
|
|
const DS = DIRECTORY_SEPARATOR;
|
|
|
|
const ROOT_PATH = __DIR__ . DS;
|
|
|
|
const FORMWORK_PATH = ROOT_PATH . 'formwork' . DS;
|
2020-12-16 18:14:49 +01:00
|
|
|
const SITE_PATH = ROOT_PATH . 'site' . DS;
|
|
|
|
const CONFIG_PATH = SITE_PATH . 'config' . DS;
|
2019-10-05 00:48:40 +02:00
|
|
|
const ADMIN_PATH = ROOT_PATH . 'admin' . DS;
|
2018-06-16 16:41:58 +02:00
|
|
|
|
2018-10-08 21:24:24 +02:00
|
|
|
require ROOT_PATH . 'vendor' . DS . 'autoload.php';
|
2018-06-16 16:41:58 +02:00
|
|
|
|
|
|
|
$formwork = new Formwork();
|
|
|
|
$formwork->run();
|