3 class UploadFromStash
extends UploadBase
{
4 function initialize( &$sessionData ) {
6 * Confirming a temporarily stashed upload.
7 * We don't want path names to be forged, so we keep
8 * them in the session on the server and just give
9 * an opaque key to the user agent.
12 $this->mTempPath
= $sessionData['mTempPath'];
13 $this->mFileSize
= $sessionData['mFileSize'];
14 $this->mSrcName
= $sessionData['mSrcName'];
15 $this->mFileProps
= $sessionData['mFileProps'];
16 $this->mStashed
= true;
17 $this->mRemoveTempFile
= false;
21 * File has been previously verified so no need to do so again.
23 protected function verifyFile( $tmpfile ) {
27 * We're here from "ignore warnings anyway" so return just OK
29 function checkWarnings() {