From 87a24145dcfe0a5da83b7699a48b9a63d5a573f6 Mon Sep 17 00:00:00 2001 From: Yaya Laressa Date: Mon, 5 Jul 2021 22:02:06 +0700 Subject: [PATCH] Update htmly.php --- system/htmly.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/system/htmly.php b/system/htmly.php index 240f2d6..e47c2de 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -1484,11 +1484,6 @@ post('/admin/config/performance', function () { save_config($new_config, $new_Keys); // Clear cache after setting performance - $files = array(); - $draft = array(); - $files = glob('content/*/blog/*.md', GLOB_NOSORT); - $draft = glob('content/*/draft/*.md', GLOB_NOSORT); - rebuilt_cache('all'); foreach (glob('cache/page/*.cache', GLOB_NOSORT) as $file) { unlink($file); }