This commit is contained in:
make
2025-05-06 20:07:00 +08:00
parent b891b556bb
commit 84706e0915

View File

@@ -86,7 +86,7 @@ class SiteContext
$this->TemplatesModel = TemplatesModel::getTemplateOnCacheByTId($this->DomainModel->t_id); $this->TemplatesModel = TemplatesModel::getTemplateOnCacheByTId($this->DomainModel->t_id);
if (empty($this->DomainModel)) { if (empty($this->TemplatesModel)) {
throw new HttpException(500, 'Site template not Found'); throw new HttpException(500, 'Site template not Found');
} }