...
|
...
|
@@ -74,7 +74,7 @@ class Application{
|
74
|
74
|
|
75
|
75
|
for($i=0; $i<$search_level; $i++){
|
76
|
76
|
if(preg_match(
|
77
|
|
- $pattern = '#('.$this->applicationDirectory.')(\\\\(?P<module>.+))?\\\\'.$this->controllersDirecotry.'\\\\(?P<controller>.+)#',
|
|
77
|
+ $pattern = '#('.$this->applicationDirectory.')(\\\\(?P<module>.+))?\\\\'.$this->controllersDirectory.'\\\\(?P<controller>.+)#',
|
78
|
78
|
$call_stack[$i]['class'],
|
79
|
79
|
$match
|
80
|
80
|
)
|
...
|
...
|
@@ -139,7 +139,7 @@ class Application{
|
139
|
139
|
|
140
|
140
|
$controller_class = "\\".$this->applicationDirectory."\\"
|
141
|
141
|
.$module
|
142
|
|
- .$this->controllersDirecotry."\\"
|
|
142
|
+ .$this->controllersDirectory."\\"
|
143
|
143
|
.$controller;
|
144
|
144
|
|
145
|
145
|
if(class_exists($controller_class,true)){
|