formwork/index.php

16 lines
381 B
PHP
Raw Normal View History

2018-06-16 16:41:58 +02:00
<?php
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;
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();