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

21
app/config/loader.php Normal file
View file

@ -0,0 +1,21 @@
<?php
$loader = new \Phalcon\Loader();
/**
* We're a registering a set of directories taken from the configuration file
*/
$loader->registerDirs(
array(
$config->application->controllersDir,
$config->application->libraryDir,
$config->application->pluginsDir
)
)->register();
$loader->registerNamespaces(array(
'Model' => $config->application->modelsDir,
'Form' => $config->application->formsDir,
));
require_once __DIR__ . '/../../vendor/autoload.php';