mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 21:16:23 +05:30
Update dispatch.php
This commit is contained in:
parent
f12277f0d7
commit
8e2845879e
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ function render($view, $locals = null, $layout = null)
|
|||
if (config('cache.timestamp') == 'true') {
|
||||
echo "\n" . '<!-- Cached page generated on '.date('Y-m-d H:i:s').' -->';
|
||||
}
|
||||
if (isset($filecache))
|
||||
if (isset($cachefile))
|
||||
file_put_contents($cachefile, ob_get_contents(), LOCK_EX);
|
||||
}
|
||||
echo trim(ob_get_clean());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue