Page MenuHomePhabricator

file-cache-dir.patch

Authored By
bzimport
Nov 21 2014, 11:19 PM
Size
535 B
Referenced Files
None
Subscribers
None

file-cache-dir.patch

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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6785
Default Alt Text
file-cache-dir.patch (535 B)

Event Timeline