Update template.php

This commit is contained in:
Roman Kelesidis 2023-08-10 14:56:14 +07:00
parent e36af3e30e
commit 8e68611823

View File

@ -127,11 +127,11 @@ class Template
$this->lang =& $lang; $this->lang =& $lang;
$this->use_cache = $bb_cfg['xs_use_cache']; $this->use_cache = $bb_cfg['xs_use_cache'];
// Check template exists // Check template exists
if (!file_exists($this->root) || !is_dir($this->root)) if (!file_exists($this->root) || !is_dir($this->root))
{ {
die("Theme ({$this->tpl}) directory not found"); die("Theme ({$this->tpl}) directory not found");
} }
} }
/** /**