Index: trunk/phase3/includes/filerepo/file/File.php |
— | — | @@ -811,12 +811,13 @@ |
812 | 812 | // FileRepo::store(); getThumbPath() uses a different zone in some subclasses. |
813 | 813 | $backend->prepare( array( 'dir' => dirname( $thumbPath ) ) ); |
814 | 814 | $status = $backend->store( |
815 | | - array( 'src' => $tmpThumbPath, 'dst' => $thumbPath ), |
| 815 | + array( 'src' => $tmpThumbPath, 'dst' => $thumbPath, 'overwriteDest' => 1 ), |
816 | 816 | array( 'force' => 1, 'nonLocking' => 1, 'allowStale' => 1 ) |
817 | 817 | ); |
818 | 818 | if ( $status->isOK() ) { |
819 | 819 | $thumb->setStoragePath( $thumbPath ); |
820 | 820 | } else { |
| 821 | + var_dump($status->errors); |
821 | 822 | $thumb = $this->transformErrorOutput( $thumbPath, $thumbUrl, $params, $flags ); |
822 | 823 | } |
823 | 824 | } |