619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
|
$this->display($skel);
}
static private function compile_get_path($path)
{
$hash = sha1($path);
return DATA_ROOT . '/cache/compiled/s_' . $hash . '.php';
}
static private function compile_check($tpl, $check)
{
if (!file_exists(self::compile_get_path($tpl)))
return false;
|
|
|
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
|
$this->display($skel);
}
static private function compile_get_path($path)
{
$hash = sha1($path);
return CACHE_ROOT . '/compiled/s_' . $hash . '.php';
}
static private function compile_check($tpl, $check)
{
if (!file_exists(self::compile_get_path($tpl)))
return false;
|