[FileRepo] Cleanup of URL config.
authorAaron <aschulz@wikimedia.org>
Thu, 10 May 2012 18:15:29 +0000 (11:15 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 23 May 2012 04:16:53 +0000 (21:16 -0700)
commit11b67f0093649dc969a072336c2137d165b02dd7
treeacfaea3a8533b2a203c2bbb256f13152fe3f855e
parent92c7c6f4264d01f84c059f73d597d2f2137a4cfd
[FileRepo] Cleanup of URL config.

* Made the 'zones' config a bit easier to set by falling back to defaults more piecemeal.
  Each zone now also has a 'url' parameter. This is useful for CDN support for third parties.
* Deprecated weirdly name getRootUrl() function and made it wrap getZoneUrl( 'public' ).

Change-Id: I8295a81e9cc56c08069b35fa4e4f883fd0108df7
includes/DefaultSettings.php
includes/filerepo/FileRepo.php