Skip to content

Commit 19f6703

Browse files
committed
Fix Bug
1 parent a3bc6d6 commit 19f6703

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codemommy/configphp",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "CodeMommy ConfigPHP is a config helper for web development.",
55
"keywords": [
66
"CodeMommy",

source/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static function get($key, $default = null)
4848
$filePath .= '/' . $keys[$index];
4949
$file = self::$root . $filePath . '.php';
5050
if (is_file($file)) {
51-
$config = require_once($file);
51+
$config = require($file);
5252
break;
5353
}
5454
}

0 commit comments

Comments
 (0)