dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a55d07c
)
Fix for file cache on PHP 4.1.2. The text string seems to be passed by
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 8 Aug 2004 10:15:20 +0000
(10:15 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 8 Aug 2004 10:15:20 +0000
(10:15 +0000)
references, and changing it screws things royally; instead make a copy.
includes/CacheManager.php
patch
|
blob
|
history
diff --git
a/includes/CacheManager.php
b/includes/CacheManager.php
index
e85f69d
..
7a68114
100644
(file)
--- a/
includes/CacheManager.php
+++ b/
includes/CacheManager.php
@@
-110,7
+110,8
@@
class CacheManager {
if(!file_exists($mydir2)) { mkdir($mydir2,0775); }
}
- function saveToFileCache( $text ) {
+ function saveToFileCache( $origtext ) {
+ $text = $origtext;
if(strcmp($text,'') == 0) return '';
wfDebug(" saveToFileCache()\n", false);