@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | |
| 98 | 98 | return [ |
| 99 | 99 | 'module' => $this->module->id, |
| 100 | - 'route' => $this->module->id . '/' . $request['route'], |
|
| 100 | + 'route' => $this->module->id.'/'.$request['route'], |
|
| 101 | 101 | 'params' => $request['args'], |
| 102 | 102 | ]; |
| 103 | 103 | } |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | throw new InvalidConfigException(sprintf("Unable to create controller '%s' for module '%s'.", $requestRoute['route'], $this->module->id)); |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | - Yii::info('LUYA module run module "'.$this->module->id.'" route ' . $requestRoute['route'], __METHOD__); |
|
| 120 | + Yii::info('LUYA module run module "'.$this->module->id.'" route '.$requestRoute['route'], __METHOD__); |
|
| 121 | 121 | |
| 122 | 122 | // run the action on the provided controller object |
| 123 | 123 | return $controller[0]->runAction($controller[1], $requestRoute['args']); |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | public function getWebroot() |
| 64 | 64 | { |
| 65 | 65 | if ($this->_webroot === null) { |
| 66 | - $this->_webroot = realpath(realpath($this->basePath) . DIRECTORY_SEPARATOR . $this->webrootDirectory); |
|
| 66 | + $this->_webroot = realpath(realpath($this->basePath).DIRECTORY_SEPARATOR.$this->webrootDirectory); |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | return $this->_webroot; |