...
|
...
|
@@ -10,8 +10,8 @@ class Application{
|
10
|
10
|
public $serialization; // serialization engine
|
11
|
11
|
public $viewEngines; // view engines configuration
|
12
|
12
|
public $baseDirectory; // directory root of the application
|
13
|
|
- public $controllersDirecotry; // subdirectory/namespace part added to controller class
|
14
|
|
- public $viewsDirecotry; // subdirectory to search for the view files
|
|
13
|
+ public $controllersDirectory; // subdirectory/namespace part added to controller class
|
|
14
|
+ public $viewsDirectory; // subdirectory to search for the view files
|
15
|
15
|
public $applicationDirectory; // subdirectory/namespace part of the application
|
16
|
16
|
public $controller; //Active controller
|
17
|
17
|
public $module; //Active module
|
...
|
...
|
@@ -23,9 +23,9 @@ class Application{
|
23
|
23
|
// directory root of the application
|
24
|
24
|
$this->baseDirectory = $config->getBaseDirectory();
|
25
|
25
|
// subdirectory/namespace part added to controller class
|
26
|
|
- $this->controllersDirecotry = $config->getControllersDirectory();
|
|
26
|
+ $this->controllersDirectory = $config->getControllersDirectory();
|
27
|
27
|
// subdirectory to search for the view files
|
28
|
|
- $this->viewsDirecotry = $config->getViewsDirectory();
|
|
28
|
+ $this->viewsDirectory = $config->getViewsDirectory();
|
29
|
29
|
// subdirectory/namespace part of the application
|
30
|
30
|
$this->applicationDirectory = $config->getApplicationDirectory();
|
31
|
31
|
//create request object
|