X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Fsmarty%2Fresource.kyberia.php;h=dc77b4fa55a67fc482f8390506a5e78af9bce77b;hb=c0aaf671335c0eff681bc78b3f4da279a26d0d3e;hp=db739208a7cef9a033df9f9ebab6393682469437;hpb=b17a1e9bc746b7eb0549dfd8dff61e132c9de828;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/smarty/resource.kyberia.php b/wwwroot/inc/smarty/resource.kyberia.php index db73920..dc77b4f 100644 --- a/wwwroot/inc/smarty/resource.kyberia.php +++ b/wwwroot/inc/smarty/resource.kyberia.php @@ -37,7 +37,8 @@ function db_get_timestamp($tpl_name, &$tpl_timestamp, &$smarty_obj) // with unix epoch time value of last template modification. // This is used to determine if recompile is necessary. $recompile = 100; //recompile every N seconds - $tpl_timestamp = floor(time()/$recompile)*$recompile; // this example will recompile even unchanged templates! XXX!!! FIXME!!! TODO!!! + $tpl_timestamp = floor(time()/$recompile)*$recompile; + // this example will recompile even unchanged templates! XXX!!! FIXME!!! TODO!!! // return true on success, false to generate failure notification return true; }