rtrim() call does not pass by reference!
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 8 Feb 2012 14:30:17 +0000 (14:30 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 8 Feb 2012 14:30:17 +0000 (14:30 +0000)
fix r110923

includes/filerepo/backend/FSFileBackend.php

index 0871b46..03e4d87 100644 (file)
@@ -51,7 +51,7 @@ class FSFileBackend extends FileBackendStore {
                if( isset( $config['containerPaths'] ) ) {
                        $this->containerPaths = (array)$config['containerPaths'];
                        foreach ( $this->containerPaths as &$path ) {
-                               rtrim( $path, '/' );  // remove trailing slash
+                               $path = rtrim( $path, '/' );  // remove trailing slash
                        }
                }