Most User endpoints

This commit is contained in:
2024-07-21 20:22:39 +02:00
parent b3c5841e36
commit 4b89a7e9ca
11 changed files with 102 additions and 28 deletions
+5
View File
@@ -44,6 +44,11 @@ class Config
return Config::getInstance()->app["baseFSPath"];
}
public static function getStoragePath()
{
return Config::getInstance()->app["storagePath"];
}
public static function getDatabase()
{
return Config::getInstance()->database;
+2 -1
View File
@@ -2,5 +2,6 @@
return [
"basePath" => "phpCourse/exam/",
"baseFSPath" => "/home/k/khofmann/public_html/phpCourse/exam/"
"baseFSPath" => "/home/k/khofmann/public_html/phpCourse/exam/",
"storagePath" => "/home/k/khofmann/public_html/phpCourse/exam/storage/"
];