We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 825ac35 + 2b659df commit 7803708Copy full SHA for 7803708
system/config.php
@@ -17,8 +17,19 @@ class Config {
17
*/
18
public static function get($key)
19
{
20
- list($file, $key) = static::parse($key);
21
+ // -----------------------------------------------------
22
+ // We are are just pulling in a file, skip loading a key
23
24
+ if(strpos($key, '.') == 0)
25
+ {
26
+ static::load($key);
27
+
28
+ return static::$items[$key];
29
+ }
30
31
+ list($file, $key) = static::parse($key);
32
33
static::load($file);
34
35
if (array_key_exists($key, static::$items[$file]))
0 commit comments