projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
040de93
)
force invalidate on opcache
author
Alan
<alan@roojs.com>
Tue, 29 Mar 2022 05:04:02 +0000
(13:04 +0800)
committer
Alan
<alan@roojs.com>
Tue, 29 Mar 2022 05:04:02 +0000
(13:04 +0800)
HTML/Template/Flexy/Compiler/Flexy.php
patch
|
blob
|
history
diff --git
a/HTML/Template/Flexy/Compiler/Flexy.php
b/HTML/Template/Flexy/Compiler/Flexy.php
index
a1863cd
..
7050b95
100644
(file)
--- a/
HTML/Template/Flexy/Compiler/Flexy.php
+++ b/
HTML/Template/Flexy/Compiler/Flexy.php
@@
-194,7
+194,6
@@
class HTML_Template_Flexy_Compiler_Flexy extends HTML_Template_Flexy_Compiler {
}
fwrite($cfp, $data);
fclose($cfp);
-
chmod($file, 0775);
// make the timestamp of the two items match.
clearstatcache();
@@
-214,7
+213,7
@@
class HTML_Template_Flexy_Compiler_Flexy extends HTML_Template_Flexy_Compiler {
touch($file, $mtime);
if (function_exists('opcache_invalidate')) {
- opcache_invalidate($file);
+ opcache_invalidate($file
, true
);
}
// why?? -- see output.block