@@ 110-119 (lines=10) @@ | ||
107 | * |
|
108 | * @return array |
|
109 | */ |
|
110 | public static function get() |
|
111 | { |
|
112 | if (!self::exists()) { |
|
113 | return []; |
|
114 | } |
|
115 | ||
116 | $config = json_decode(file_get_contents(self::$configFileName), true); |
|
117 | ||
118 | return $config; |
|
119 | } |
|
120 | ||
121 | /** |
|
122 | * Configuration skeleton |
@@ 40-49 (lines=10) @@ | ||
37 | * |
|
38 | * @return array |
|
39 | */ |
|
40 | public static function get() |
|
41 | { |
|
42 | if (!self::exists()) { |
|
43 | return []; |
|
44 | } |
|
45 | ||
46 | $config = json_decode(file_get_contents(self::getConfigFile()), true); |
|
47 | ||
48 | return $config; |
|
49 | } |
|
50 | ||
51 | /** |
|
52 | * Configuration skeleton |