mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update template.php
This commit is contained in:
parent
e36af3e30e
commit
8e68611823
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user