* Throw a showstopper exception when a hook function fails to return a value.
[lhc/web/wiklou.git] / includes / filerepo / UnregisteredLocalFile.php
index ff9c5df..ca4dbc4 100644 (file)
@@ -92,7 +92,7 @@ class UnregisteredLocalFile extends File {
 
        function getURL() {
                if ( $this->repo ) {
-                       return $this->repo->getZoneUrl( 'public' ) . $this->repo->getHashPath( $this->name ) . urlencode( $this->name );
+                       return $this->repo->getZoneUrl( 'public' ) . '/' . $this->repo->getHashPath( $this->name ) . urlencode( $this->name );
                } else {
                        return false;
                }