Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
3 contributors

Users who have contributed to this file

@sergeyklay @moderndeveloperllc @dschissler
21 lines (15 sloc) 543 Bytes
<?php
use Phalcon\Loader;
$loader = new Loader();
/**
* We're a registering a set of directories taken from the configuration file
*/
$loader->registerNamespaces([
'Vokuro\Models' => $config->application->modelsDir,
'Vokuro\Controllers' => $config->application->controllersDir,
'Vokuro\Forms' => $config->application->formsDir,
'Vokuro' => $config->application->libraryDir
]);
$loader->register();
// Use composer autoloader to load vendor classes
require_once BASE_PATH . '/vendor/autoload.php';
You can’t perform that action at this time.