From 881d70f695d6a534fb0bbad831aff6e762d72d40 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Fri, 22 Jan 2016 00:51:01 +0200 Subject: [PATCH] :lipstick: --- app/config/loader.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/app/config/loader.php b/app/config/loader.php index 12d6d9ee..24d95eed 100644 --- a/app/config/loader.php +++ b/app/config/loader.php @@ -1,15 +1,18 @@ 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();