From: Aaron Schulz Date: Fri, 8 Feb 2013 04:33:38 +0000 (-0800) Subject: [ExternalStore] Made ExternalStoreMwstore use private containers. X-Git-Tag: 1.31.0-rc.0~20723^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=73ef79925a33324d70aa56aaead6f54b598aa4c4;p=lhc%2Fweb%2Fwiklou.git [ExternalStore] Made ExternalStoreMwstore use private containers. Change-Id: Ice87446b9d3a8d178f0fda10ba606d60089d76d4 --- diff --git a/includes/externalstore/ExternalStoreMwstore.php b/includes/externalstore/ExternalStoreMwstore.php index 8e0adda5c3..0911cca100 100644 --- a/includes/externalstore/ExternalStoreMwstore.php +++ b/includes/externalstore/ExternalStoreMwstore.php @@ -62,7 +62,7 @@ class ExternalStoreMwstore extends ExternalStoreMedium { $url = $be->getContainerStoragePath( 'data' ) . '/' . rawurlencode( $wiki ) . "/{$rand[0]}/{$rand[1]}/{$rand[2]}/{$id}"; - $be->prepare( array( 'dir' => dirname( $url ) ) ); + $be->prepare( array( 'dir' => dirname( $url ), 'noAccess' => 1, 'noListing' => 1 ) ); if ( $be->create( array( 'dst' => $url, 'content' => $data ) )->isOK() ) { return $url; }