Beispiel #1
0
        echo '
            <html>
              <head>
                <link rel="stylesheet" type="text/css" href="media/style/' . $theme . '/style.css" />
              </head>
              <body style="padding:20px;">
              <p><b>Очистка...</b></p>
        ';
        $sync = new synccache();
        $sync->setCachepath("../assets/cache/");
        $sync->setReport(true);
        $sync->emptyCache();
        echo '
              <script type="text/javascript">
                //parent.tree.location.reload();
                parent.tree.restoreTree();
                setTimeout(function(){
                    window.location.href="' . $mod_page . '";
                },2000);
              </script>
              </body>
            </html>
        ';
        exit;
        break;
}
$imp_count = $catalogFill->countFiles($cf_config['files_import_dir']);
$exp_count = $catalogFill->countFiles($cf_config['files_export_dir']);
$config_list = $catalogFill->configList();
$files_list = $catalogFill->filesList();
require MODULE_PATH . "tpl/main.tpl.php";