draft images feature #14

This commit is contained in:
ghost 2023-09-24 18:56:21 +03:00
parent 947e359976
commit 6b112d441c
4 changed files with 64 additions and 2 deletions

View file

@ -298,6 +298,17 @@ class AppModelValidator
return true;
}
/// Page image
public function getPageImageRequired() : bool
{
return $this->_config->page->image->required;
}
public function getPageImageMimeTypes() : array
{
return $this->_config->page->image->mime;
}
/// Page torrent
public function getPageTorrentRequired() : bool
{