This commit is contained in:
2023-01-09 15:59:53 +01:00
parent 6dcd7031bb
commit cee54a1946
7 changed files with 37 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ namespace Core\API {
public function __construct(Context $context, bool $externalCall, array $params) {
parent::__construct($context, $externalCall, $params);
$this->routerCachePath = getClassPath(self::ROUTER_CACHE_CLASS);
$this->routerCachePath = WEBROOT . DIRECTORY_SEPARATOR . getClassPath(self::ROUTER_CACHE_CLASS);
}
protected function toggleRoute(int $id, bool $active): bool {