Skip to content

Commit

Permalink
Update global config() function to use new path.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 1, 2014
1 parent b1d1099 commit cfbb087
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/basics.php
Expand Up @@ -45,8 +45,8 @@ function config() {
$count = count($args);
$included = 0;
foreach ($args as $arg) {
if (file_exists(APP . 'Config/' . $arg . '.php')) {
include_once APP . 'Config/' . $arg . '.php';
if (file_exists(CONFIG . $arg . '.php')) {
include_once CONFIG . $arg . '.php';
$included++;
}
}
Expand Down

0 comments on commit cfbb087

Please sign in to comment.