@@ -175,12 +175,12 @@ |
||
| 175 | 175 | { |
| 176 | 176 | if ($page_dir) |
| 177 | 177 | { |
| 178 | - $route = ltrim(dirname($page_dir) . '/index.php', './'); |
|
| 178 | + $route = ltrim(dirname($page_dir).'/index.php', './'); |
|
| 179 | 179 | $parent_route = $this->get_parent_route_info($routes, $route); |
| 180 | 180 | } |
| 181 | - else if ($current_route === 'viewtopic.' . $this->php_ext) |
|
| 181 | + else if ($current_route === 'viewtopic.'.$this->php_ext) |
|
| 182 | 182 | { |
| 183 | - $route = 'viewforum.' . $this->php_ext; |
|
| 183 | + $route = 'viewforum.'.$this->php_ext; |
|
| 184 | 184 | $parent_route = $this->get_parent_route_info($routes, $route); |
| 185 | 185 | } |
| 186 | 186 | else |