debug
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user