caching = true; $tpl->cache_lifetime = $cache_seconds; } $cacheid = md5($_SERVER["REQUEST_URI"]); // define('PATH_URL','http://'.$_SERVER['HTTP_HOST'].PHPOE_ROOT); // echo(PATH_URL);exit; if(!$tpl->isCached($tplfile,$cacheid)){ require './source/module/app.php'; require $widgetfile; } // $md5password = md5(KEY.md5('xyxx2013'.KEY)); // echo($md5password);die(); $tpl->assign("runtime",Core_Fun::runtime()); $tpl->display($tplfile,$cacheid); ?>