function load_testimonials_env() { $js_cache = t_paths::js_cache($_GET['apikey']); if (!file_exists($js_cache) or !file_exists(t_paths::init_cache())) { return; } readfile($js_cache); readfile(t_paths::init_cache()); die('/*=D*/'); }
private static function cache_init() { file_put_contents(t_paths::init_cache(), View::factory('testimonials/widget_init')->render() . "\n//" . date('m.d.y g:ia')); return; }