20 lines
620 B
PHP
20 lines
620 B
PHP
<?php
|
|
/**
|
|
* Created by CS medien- & kommunikationssysteme.
|
|
* @author Christian Steinle
|
|
* @date 01.08.2016
|
|
*
|
|
* @copyright CS medien- & kommunikationssysteme (http://www.steinle-computer.de)
|
|
*/
|
|
|
|
$url = (!isset($_GET['url']) || empty($_GET['url'])) ? 'ahd_allradhaus' : '/' . $_GET['url'];
|
|
$pathRoot = __DIR__ . '/';
|
|
|
|
require_once($pathRoot . '.config/config_global.php');
|
|
require_once($pathRoot . 'backend/editor/.config/editor_config.php');
|
|
$loader = require __DIR__ . '/vendor/autoload.php';
|
|
|
|
$registry = \Helper\Registry::getInstance();
|
|
$registry->editorConfig = $editor;
|
|
|
|
$route = new \Route\FrontendRoute($url); |