build ckeditor from source

This commit is contained in:
crispycat 2024-05-23 15:03:48 -04:00
parent bfe7b0c1b4
commit c1965c778d
2 changed files with 4 additions and 9 deletions

View File

@ -70,13 +70,13 @@
}
}
public function getLayoutPath(?string $layout, string $template = null): string {
public function getLayoutPath(?string $layout, ?string $template = null): string {
$layout ??= "default";
$template ??= $this->template;
return $this->getPath($template) . "/layouts/$layout.php";
}
public function setLayout(string $layout = null, string $template = null): void {
public function setLayout(?string $layout = null, ?string $template = null): void {
$layout ??= $this->layout;
if ($template) {

File diff suppressed because one or more lines are too long