Index: trunk/phase3/includes/filerepo/backend/FSFileBackend.php |
— | — | @@ -1,4 +1,4 @@ |
2 | | -<?php |
| 2 | +g<?php |
3 | 3 | /** |
4 | 4 | * @file |
5 | 5 | * @ingroup FileBackend |
— | — | @@ -366,7 +366,7 @@ |
367 | 367 | if ( !empty( $params['noAccess'] ) ) { |
368 | 368 | if ( !file_exists( "{$contRoot}/.htaccess" ) ) { |
369 | 369 | wfSuppressWarnings(); |
370 | | - $ok = file_put_contents( "{$dirRoot}/.htaccess", "Deny from all\n" ); |
| 370 | + $ok = file_put_contents( "{$contRoot}/.htaccess", "Deny from all\n" ); |
371 | 371 | wfRestoreWarnings(); |
372 | 372 | if ( !$ok ) { |
373 | 373 | $storeDir = "mwstore://{$this->name}/{$shortCont}"; |