Erster Stand des mvc-Frameworks
This commit is contained in:
20
index.php
Normal file
20
index.php
Normal 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));
|
||||
Reference in New Issue
Block a user