getPath() does the wrong thing under SwiftMedia, but getRel() works for everything.
authorRuss Nelson <nelson@users.mediawiki.org>
Sat, 25 Jun 2011 01:43:24 +0000 (01:43 +0000)
committerRuss Nelson <nelson@users.mediawiki.org>
Sat, 25 Jun 2011 01:43:24 +0000 (01:43 +0000)
includes/filerepo/LocalFile.php

index a278d78..3a6666a 100644 (file)
@@ -889,7 +889,7 @@ class LocalFile extends File {
 
                # Fail now if the file isn't there
                if ( !$this->fileExists ) {
-                       wfDebug( __METHOD__ . ": File " . $this->getPath() . " went missing!\n" );
+                       wfDebug( __METHOD__ . ": File " . $this->getRel() . " went missing!\n" );
                        return false;
                }