r110926 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110925‎ | r110926 | r110927 >
Date:09:54, 8 February 2012
Author:hashar
Status:ok
Tags:
Comment:
r110923 made basePath always null!
Modified paths:
  • /trunk/phase3/includes/filerepo/backend/FSFileBackend.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/backend/FSFileBackend.php
@@ -43,7 +43,7 @@
4444 // Remove any possible trailing slash from directories
4545
4646 if ( isset( $config['basePath'] ) ) {
47 - rtrim( $this->basePath, '/' ); // remove trailing slash
 47+ $this->basePath = rtrim( $config['basePath'], '/' ); // remove trailing slash
4848 } else {
4949 $this->basePath = null; // none; containers must have explicit paths
5050 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r110923use rtrim() to strip trailing slashes...hashar09:16, 8 February 2012

Status & tagging log