Add new config variable $wgFileCacheDepth to set the depth of the subdirectory hierar...
authorIlmari Karonen <vyznev@users.mediawiki.org>
Sun, 5 Dec 2010 23:07:48 +0000 (23:07 +0000)
committerIlmari Karonen <vyznev@users.mediawiki.org>
Sun, 5 Dec 2010 23:07:48 +0000 (23:07 +0000)
commitabae23837d580761f2cdf67cdfffd454c69a5991
tree51dcd7e45d7f9297f12c2f47ef471fe2d53ee9c8
parentbb84043024456a910badcd43cc604c80be7bff94
Add new config variable $wgFileCacheDepth to set the depth of the subdirectory hierarchy used for the file cache. Default value is 2, which matches former behavior. Setting this to 0 makes the paths simpler, and can be used with clever Apache rewrite rules to serve cached files directly without calling MediaWiki or PHP at all.
RELEASE-NOTES
includes/DefaultSettings.php
includes/HTMLFileCache.php