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());