Skip to content

Commit

Permalink
💄
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyklay committed Jan 21, 2016
1 parent 64ab2bf commit 881d70f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions app/config/loader.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<?php
$loader = new \Phalcon\Loader();

use Phalcon\Loader;

$loader = new Loader();

/**
* We're a registering a set of directories taken from the configuration file
*/
$loader->registerNamespaces(array(
'Vokuro\Models' => $config->application->modelsDir,
$loader->registerNamespaces([
'Vokuro\Models' => $config->application->modelsDir,
'Vokuro\Controllers' => $config->application->controllersDir,
'Vokuro\Forms' => $config->application->formsDir,
'Vokuro' => $config->application->libraryDir
));
'Vokuro\Forms' => $config->application->formsDir,
'Vokuro' => $config->application->libraryDir
]);

$loader->register();

Expand Down

0 comments on commit 881d70f

Please sign in to comment.