@@ -204,13 +204,13 @@ discard block |
||
| 204 | 204 | */ |
| 205 | 205 | public function setConfigFile($configFile) |
| 206 | 206 | { |
| 207 | - $_file = $this->basePath .'/'. $this->modulePath .'/'. $this->moduleName .'/'. $configFile; |
|
| 207 | + $_file = $this->basePath . '/' . $this->modulePath . '/' . $this->moduleName . '/' . $configFile; |
|
| 208 | 208 | |
| 209 | 209 | if (!file_exists($_file)) |
| 210 | 210 | throw new \RuntimeException("The file '$_file' does not exists"); |
| 211 | 211 | |
| 212 | 212 | $this->configFile = |
| 213 | - $this->basePath .'/'. $this->modulePath .'/'. $this->moduleName .'/'. $configFile; |
|
| 213 | + $this->basePath . '/' . $this->modulePath . '/' . $this->moduleName . '/' . $configFile; |
|
| 214 | 214 | } |
| 215 | 215 | |
| 216 | 216 | /** |
@@ -286,15 +286,15 @@ discard block |
||
| 286 | 286 | $class = ""; |
| 287 | 287 | |
| 288 | 288 | if (!empty($this->basePath)) |
| 289 | - $class .= $this->basePath .'/'; |
|
| 289 | + $class .= $this->basePath . '/'; |
|
| 290 | 290 | |
| 291 | 291 | if (!empty($this->modulePath)) |
| 292 | - $class .= $this->modulePath .'/'; |
|
| 292 | + $class .= $this->modulePath . '/'; |
|
| 293 | 293 | |
| 294 | - $class .= $module ."/"; |
|
| 294 | + $class .= $module . "/"; |
|
| 295 | 295 | |
| 296 | 296 | if (!empty($this->classPath)) |
| 297 | - $class .= $this->classPath .'/'; |
|
| 297 | + $class .= $this->classPath . '/'; |
|
| 298 | 298 | |
| 299 | 299 | $class .= implode("/", $nm) . ".php"; |
| 300 | 300 | |
@@ -93,9 +93,9 @@ |
||
| 93 | 93 | |
| 94 | 94 | if ($controller->getShowView()) |
| 95 | 95 | $this->view = |
| 96 | - $controller->getModule()->getModulePath() .'/'. $controller->getModule()->getModuleName() .'/'. |
|
| 97 | - $controller->getModule()->getViewPath() .'/'. |
|
| 98 | - basename(str_replace('\\','/',get_class($controller))) .'/'. |
|
| 96 | + $controller->getModule()->getModulePath() . '/' . $controller->getModule()->getModuleName() . '/' . |
|
| 97 | + $controller->getModule()->getViewPath() . '/' . |
|
| 98 | + basename(str_replace('\\', '/', get_class($controller))) . '/' . |
|
| 99 | 99 | $controller->getMethod() . '.phtml'; |
| 100 | 100 | |
| 101 | 101 | if ($controller->getTerminal()) |