Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7251
file-cache-dir.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 11:19 PM
2014-11-21 23:19:36 (UTC+0)
Size
535 B
Referenced Files
None
Subscribers
None
file-cache-dir.patch
View Options
Index: phase3/includes/HTMLFileCache.php
===================================================================
--- phase3/includes/HTMLFileCache.php (revision 73001)
+++ phase3/includes/HTMLFileCache.php (working copy)
@@ -50,7 +50,7 @@
$hash1 = substr( $hash, 0, 1 );
$hash2 = substr( $hash, 0, 2 );
- $this->mFileCache = "{$wgFileCacheDirectory}/{$subdir}{$hash1}/{$hash2}/{$key}.html";
+ $this->mFileCache = "{$dir}/{$subdir}{$hash1}/{$hash2}/{$key}.html";
if( $this->useGzip() )
$this->mFileCache .= '.gz';
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6785
Default Alt Text
file-cache-dir.patch (535 B)
Attached To
Mode
T27175: honor $wgCacheDirectory
Attached
Detach File
Event Timeline
Log In to Comment