From 8e2845879e282d7caf51e45347b4bb1471a63624 Mon Sep 17 00:00:00 2001 From: danpros Date: Fri, 2 Feb 2024 22:14:30 +0700 Subject: [PATCH] Update dispatch.php --- system/includes/dispatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/includes/dispatch.php b/system/includes/dispatch.php index a33c001..006a181 100644 --- a/system/includes/dispatch.php +++ b/system/includes/dispatch.php @@ -407,7 +407,7 @@ function render($view, $locals = null, $layout = null) if (config('cache.timestamp') == 'true') { echo "\n" . ''; } - if (isset($filecache)) + if (isset($cachefile)) file_put_contents($cachefile, ob_get_contents(), LOCK_EX); } echo trim(ob_get_clean());