public function update_settings_cache() { $settings = t_paths::js_cache($this->owner->apikey); if (file_exists($settings)) { unlink($settings); } return; }
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 function widget() { $settings_file = t_paths::js_cache($this->apikey); $init_file = t_paths::init_cache(); if (!file_exists($settings_file)) { $this->cache_settings($settings_file); } if (!file_exists($init_file)) { self::cache_init(); } readfile($settings_file); readfile($init_file); die; }