We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cea03b6 commit f0aa486Copy full SHA for f0aa486
1 file changed
src/sys/Config.php
@@ -8,7 +8,7 @@ class Config{
8
public function __construct() {
9
}
10
public static function get($path = null) {
11
- require self::$configpath;
+ require self::getPath().'/conf/config.php';
12
if ($path) {
13
$config = $settings;
14
$config['DOCUMENT_URI'] = explode('?', $_SERVER['REQUEST_URI'], 2)[0];
@@ -54,6 +54,7 @@ public static function getPath() {
54
$path = $path.'/'.$paths[$i];
55
56
57
+ echo $path;
58
return $path;
59
60
/*
0 commit comments