This commit is contained in:
2024-02-02 12:38:18 +01:00
parent 5a087db6d2
commit 7f6afabab2
4 changed files with 6 additions and 33 deletions

View File

@@ -23,7 +23,7 @@ function getEndpoint($endpoint_name): string
$endpoint_file = $routerConfig["endpoint_dir"] . $routerRequest["subdomain"] . "/" . $endpoint_name . ".php";
$endpoint_file_global = $routerConfig["endpoint_dir"] . "global/" . $endpoint_name . ".php";
$endpoint_file_global = $routerConfig["endpoint_dir"] . "account/" . $endpoint_name . ".php";
if (file_exists($endpoint_file_global)){
$output = runEndpoint($endpoint_file_global);