Skip to content

Commit

Permalink
Update load.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenglish7 committed Feb 7, 2018
1 parent c0a1251 commit 0bb6b44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions load.php
Expand Up @@ -25,7 +25,7 @@
];

// Temp variable.
$configuration = [];
$config = [];

// Load the configuration.
foreach ($configFiles as $configFile)
Expand All @@ -37,7 +37,7 @@
$file_data = explode('.', $configFile);
reset($file_data);
// Inject the config in the config array.
$configuration[$file_data[0]] = $contents;
$config[$file_data[0]] = $contents;
} catch (ParseException $e)
{
printf('Unable to parse the YAML string: %s', $e->getMessage());
Expand Down

0 comments on commit 0bb6b44

Please sign in to comment.