Browse code

baseDirectory fix

RafaƂ Szklarczyk authored on 12/06/2019 10:40:33
Showing 1 changed files
... ...
@@ -9,7 +9,7 @@ class Application{
9 9
     public $router; // routing engine
10 10
     public $serialization; // serialization engine
11 11
     public $viewEngines; // view engines configuration
12
-    public $baseDirecotry; // directory root of the application
12
+    public $baseDirectory; // directory root of the application
13 13
     public $controllersDirecotry; // subdirectory/namespace part added to controller class 
14 14
     public $viewsDirecotry; // subdirectory to search for the view files
15 15
     public $applicationDirectory; // subdirectory/namespace part of the application
... ...
@@ -21,7 +21,7 @@ class Application{
21 21
         //set L3 application config
22 22
         $this->config = $config;
23 23
         // directory root of the application
24
-        $this->baseDirecotry = $config->getBaseDirectory();
24
+        $this->baseDirectory = $config->getBaseDirectory();
25 25
         // subdirectory/namespace part added to controller class
26 26
         $this->controllersDirecotry = $config->getControllersDirectory();
27 27
         // subdirectory to search for the view files