mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-18 19:11:33 +01:00
Migrating to Silex
This commit is contained in:
@@ -16,7 +16,7 @@ class Config
|
||||
*/
|
||||
public static function init(){
|
||||
if(!Config::initialized()) {
|
||||
$file = file_get_contents("data/project.json");
|
||||
$file = file_get_contents(__DIR__."/../data/project.json");
|
||||
Config::$config = json_decode($file, true);
|
||||
Config::$in=true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user