Ad Schellevis 57467599f8 * added public http directory for new mvc framework including css / js parts.
* initial implementation for base\menusystem.
* copied in some of the template parts from the legacy system after cleanup html code.
2015-02-11 18:14:53 +01:00

32 lines
534 B
PHP

<?php
error_reporting(E_ALL);
try {
/**
* Read the configuration
*/
$config = include __DIR__ . "/../app/config/config.php";
/**
* Read auto-loader
*/
include __DIR__ . "/../app/config/loader.php";
/**
* Read services
*/
include __DIR__ . "/../app/config/services_api.php";
/**
* Handle the request
*/
$application = new \Phalcon\Mvc\Application($di);
echo $application->handle()->getContent();
} catch (\Exception $e) {
echo $e->getMessage();
}