Index: trunk/phase3/includes/media/Bitmap.php |
— | — | @@ -157,7 +157,7 @@ |
158 | 158 | } |
159 | 159 | |
160 | 160 | # Try to make a target path for the thumbnail |
161 | | - if ( !wfMkdirParents( dirname( $dstPath, null, __METHOD__ ) ) ) { |
| 161 | + if ( !wfMkdirParents( dirname( $dstPath ), null, __METHOD__ ) ) { |
162 | 162 | wfDebug( __METHOD__ . ": Unable to create thumbnail destination directory, falling back to client scaling\n" ); |
163 | 163 | return $this->getClientScalingThumbnailImage( $image, $scalerParams ); |
164 | 164 | } |