@@ -44,12 +44,12 @@ |
||
| 44 | 44 | $reflector = new \ReflectionClass(get_class($this)); |
| 45 | 45 | $classPath = dirname($reflector->getFileName()); |
| 46 | 46 | |
| 47 | - if (file_exists($classPath.'/conf/routes.php')) { |
|
| 48 | - $this->loadRoutesFromConfig($classPath.'/conf/routes.php'); |
|
| 47 | + if (file_exists($classPath . '/conf/routes.php')) { |
|
| 48 | + $this->loadRoutesFromConfig($classPath . '/conf/routes.php'); |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | - if (file_exists($classPath.'/conf/routes.json')) { |
|
| 52 | - $this->loadRoutesFromConfig($classPath.'/conf/routes.json'); |
|
| 51 | + if (file_exists($classPath . '/conf/routes.json')) { |
|
| 52 | + $this->loadRoutesFromConfig($classPath . '/conf/routes.json'); |
|
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | 55 | |