From a54a241b97c7c892c8899682f35a9cf057bbf018 Mon Sep 17 00:00:00 2001 From: munjoob <35959208+munjoob@users.noreply.github.com> Date: Wed, 12 Dec 2018 19:24:24 +0000 Subject: [PATCH] Update style.php and we will edit functions too --- includes/style.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/style.php b/includes/style.php index dfae390..b3e1c27 100755 --- a/includes/style.php +++ b/includes/style.php @@ -20,7 +20,7 @@ class kleeja_style protected $loop = array(); protected $reg = array('var' => '/([{]{1,2})+([A-Z0-9_\.]+)[}]{1,2}/i'); public $caching = true; #save templates as caches to not compiled a lot of times - + public $except=array('.htaccess', 'index.html', 'php.ini', 'web.config','kleeja_log.log'); /** * check if caching is not enabled and empty style cache files @@ -29,6 +29,8 @@ class kleeja_style { if(! $this->caching) { + global $except; + $except=$this->except; delete_cache(null, true); } }