protected function _execute(array $params) { \Zver\FileCache::clearAll(); $this->createStructure(); $this->clearPreviewsAndUploads(); $this->insertData(); \Zver\FileCache::clearAll(); }
<?php \Zver\FileCache::clearAll(); header('Last-Modified: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); header('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); ?> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php if (!empty($title)) { ?> <title><?php echo $title; ?> </title> <?php } ?> <link rel="icon" type="image/x-icon" href="/favicon.ico"/> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/> <?php $styles = ['/' . Admin::getConfig('sharedDir') . '/css/style.css'];