Router, Logger, Bump v1.5

This commit is contained in:
2022-05-31 16:14:49 +02:00
parent 5bb0d1419f
commit 658157167e
33 changed files with 968 additions and 267 deletions

View File

@@ -48,7 +48,7 @@ abstract class Document {
$this->cspWhitelist[] = $this->domain . $path;
}
public function getCode(): string {
public function getCode(array $params = []): string {
if ($this->databaseRequired) {
$sql = $this->user->getSQL();
if (is_null($sql)) {