Skip to content

Commit f0aa486

Browse files
committed
Paths
1 parent cea03b6 commit f0aa486

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/sys/Config.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Config{
88
public function __construct() {
99
}
1010
public static function get($path = null) {
11-
require self::$configpath;
11+
require self::getPath().'/conf/config.php';
1212
if ($path) {
1313
$config = $settings;
1414
$config['DOCUMENT_URI'] = explode('?', $_SERVER['REQUEST_URI'], 2)[0];
@@ -54,6 +54,7 @@ public static function getPath() {
5454
$path = $path.'/'.$paths[$i];
5555
}
5656
}
57+
echo $path;
5758
return $path;
5859
}
5960
/*

0 commit comments

Comments
 (0)