initial commit
This commit is contained in:
commit
e869a1cab4
107 changed files with 9029 additions and 0 deletions
21
app/config/loader.php
Normal file
21
app/config/loader.php
Normal 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';
|
||||
Reference in a new issue