Erster Stand des mvc-Frameworks

This commit is contained in:
2016-08-11 14:03:25 +00:00
parent 7dffe66e91
commit 5a1dd25023
32 changed files with 8715 additions and 0 deletions

20
index.php Normal file
View File

@@ -0,0 +1,20 @@
<?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'])) ? 'allradhaus' : '/' . $_GET['url'] . ' ';
$pathRoot = __DIR__ . '/';
require_once($pathRoot . '.config/config_global.php');
$loader = require __DIR__ . '/vendor/autoload.php';
$route = new \Route\FrontendRoute($url);
//$array = array(0 => array('Model' => 'ImageText', 'ID' => 1));
//echo '<pre>';
//var_dump(json_encode($array));