@@ -63,7 +63,7 @@ |
||
63 | 63 | */ |
64 | 64 | function __toString() |
65 | 65 | { |
66 | - return "" . $this->moduleCode; |
|
66 | + return "".$this->moduleCode; |
|
67 | 67 | } |
68 | 68 | |
69 | 69 |
@@ -17,10 +17,10 @@ |
||
17 | 17 | */ |
18 | 18 | public static function get($key, $directory = null) |
19 | 19 | { |
20 | - $fileName = $directory . "config/"; |
|
20 | + $fileName = $directory."config/"; |
|
21 | 21 | $exp = explode(".", $key); |
22 | - if (is_array($exp) && $exp[0] != null && $exp[1] != null && file_exists($fileName . $exp[0] . ".php")) { |
|
23 | - $conf = include($fileName . $exp[0] . ".php"); |
|
22 | + if (is_array($exp) && $exp[0] != null && $exp[1] != null && file_exists($fileName.$exp[0].".php")) { |
|
23 | + $conf = include($fileName.$exp[0].".php"); |
|
24 | 24 | $val = array_key_exists($exp[1], $conf) ? $conf[$exp[1]] : null; |
25 | 25 | return $val; |
26 | 26 | } |