File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -124,11 +124,11 @@ private function set_controller($url)
124
124
{
125
125
if (isset ($ url [0 ])) {
126
126
127
- if (is_dir (APP_DIR . 'controllers/ ' . $ this -> makeURL ( $ url [0 ]) )) {
127
+ if (is_dir (APP_DIR . 'controllers/ ' . $ url [0 ])) {
128
128
$ this ->controller_dir = true ;
129
- if (file_exists (APP_DIR . 'controllers/ ' . $ this -> makeURL ( $ url [0 ]) . '/ ' . $ this ->makeURL ($ url [1 ]) . '.php ' )) {
129
+ if (file_exists (APP_DIR . 'controllers/ ' . $ url [0 ] . '/ ' . $ this ->makeURL ($ url [1 ]) . '.php ' )) {
130
130
$ this ->controller = $ this ->makeURL ($ url [1 ]);
131
- $ this ->loadFile (APP_DIR . 'controllers/ ' . $ this -> makeURL ( $ url [0 ]) . '/ ' . $ this ->controller );
131
+ $ this ->loadFile (APP_DIR . 'controllers/ ' . $ url [0 ] . '/ ' . $ this ->controller );
132
132
$ this ->controller = new $ this ->controller ;
133
133
} else {
134
134
$ this ->loadFile (APP_DIR . 'views/errors/error_404 ' );
You can’t perform that action at this time.
0 commit comments