mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
* initial implementation for base\menusystem. * copied in some of the template parts from the legacy system after cleanup html code.
32 lines
534 B
PHP
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();
|
|
}
|