Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 080b528

Browse files
fix: update instead of clearing apc cache
1 parent 7de7ff1 commit 080b528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Dwoo/Template/String.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ public function getCompiledTemplate(Dwoo_Core $dwoo, Dwoo_ICompiler $compiler =
382382
if (extension_loaded('Zend OPcache')) {
383383
opcache_invalidate($compiledFile);
384384
} elseif (extension_loaded('apc') && ini_get('apc.enabled')) {
385-
apc_delete_file($compiledFile);
385+
apc_compile_file($compiledFile);
386386
}
387387

388388
self::$cache['compiled'][$this->compileId] = true;

0 commit comments

Comments
 (0)