Archived
1
0
Fork 0
This repository has been archived on 2026-04-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
httpcb/app/config/loader.php

21 lines
562 B
PHP

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