projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2063745
)
typos
author
Alan Knowles
<alan@roojs.com>
Wed, 19 Jan 2022 00:14:02 +0000
(08:14 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 19 Jan 2022 00:14:02 +0000
(08:14 +0800)
HTML/FlexyFramework/Generator.php
patch
|
blob
|
history
diff --git
a/HTML/FlexyFramework/Generator.php
b/HTML/FlexyFramework/Generator.php
index
2f8280b
..
b2cebc8
100644
(file)
--- a/
HTML/FlexyFramework/Generator.php
+++ b/
HTML/FlexyFramework/Generator.php
@@
-183,7
+183,7
@@
class HTML_FlexyFramework_Generator extends DB_DataObject_Generator
//var_dump($iniCacheTmp);
// echo '<PRE>';echo file_get_contents($iniCacheTmp);exit;
// only unpdate if nothing went wrong.
//var_dump($iniCacheTmp);
// echo '<PRE>';echo file_get_contents($iniCacheTmp);exit;
// only unpdate if nothing went wrong.
- clearstatcace();
+ clearstatcac
h
e();
if (file_exists($iniCacheTmp) && filesize($iniCacheTmp)) {
// is the replace file exist?
if (!isset($replace[$iniCache]) || $replace[$iniCache] != md5_file($iniCacheTmp)) {
if (file_exists($iniCacheTmp) && filesize($iniCacheTmp)) {
// is the replace file exist?
if (!isset($replace[$iniCache]) || $replace[$iniCache] != md5_file($iniCacheTmp)) {
@@
-270,7
+270,7
@@
class HTML_FlexyFramework_Generator extends DB_DataObject_Generator
$ff->debug("Writing merged Links file : $iniLinksCache \n");
$out_str = implode("\n", $out);
// is target file different?
$ff->debug("Writing merged Links file : $iniLinksCache \n");
$out_str = implode("\n", $out);
// is target file different?
- if (!isset($replace[$iniLinksCache]) || $replace[$iniLinksCache] != md5($out)) {
+ if (!isset($replace[$iniLinksCache]) || $replace[$iniLinksCache] != md5($out
_str
)) {
file_put_contents($iniCacheTmp. '.links.ini', $out_str);
if (file_exists($iniLinksCache)) {
file_put_contents($iniCacheTmp. '.links.ini', $out_str);
if (file_exists($iniLinksCache)) {