15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
private function __clone()
{
}
public function __construct()
{
if (!file_exists(CACHE_ROOT . '/compiled'))
{
mkdir(CACHE_ROOT . '/compiled', 0777, true);
}
self::setCompileDir(CACHE_ROOT . '/compiled');
self::setTemplateDir(ROOT . '/templates');
parent::__construct();
$this->assign('www_url', WWW_URL);
$this->assign('self_url', Utils::getSelfUrl());
$this->assign('self_url_no_qs', Utils::getSelfUrl(false));
$this->assign('is_logged', false);
|
>
>
<
|
|
<
|
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
private function __clone()
{
}
public function __construct()
{
parent::__construct();
if (!file_exists(CACHE_ROOT . '/compiled'))
{
mkdir(CACHE_ROOT . '/compiled', 0777, true);
}
$this->setTemplatesDir(ROOT . '/templates');
$this->setCompiledDir(CACHE_ROOT . '/compiled');
$this->assign('www_url', WWW_URL);
$this->assign('self_url', Utils::getSelfUrl());
$this->assign('self_url_no_qs', Utils::getSelfUrl(false));
$this->assign('is_logged', false);
|