Archived
1
0
Fork 0

initial commit

This commit is contained in:
Henrik Hautakoski 2017-09-01 17:10:27 +02:00
commit e869a1cab4
107 changed files with 9029 additions and 0 deletions

29
public/index.php Normal file
View file

@ -0,0 +1,29 @@
<?php
defined('APP_PATH') || define('APP_PATH', realpath('..'));
/**
* Read the configuration
*/
$config = include APP_PATH . "/app/config/config.php";
if ($config->application->debug) {
(new Phalcon\Debug)->listen();
}
/**
* Read auto-loader
*/
include APP_PATH . "/app/config/loader.php";
/**
* Read services
*/
include APP_PATH . "/app/config/services.php";
/**
* Handle the request
*/
$application = new \Phalcon\Mvc\Application($di);
echo $application->handle()->getContent();