// Internal, dynamic:
var $internalUploadMap = array(); // Will contain map between upload ID and the final filename
-
+ var $lastError = '';
/**
if (is_object($GLOBALS['BE_USER'])) {
$GLOBALS['BE_USER']->writelog($type,$action,$error,$details_nr,$details,$data);
}
+ $this->lastError = vsprintf($details, $data);
}
} else $this->writelog(1,1,104,'The uploaded file exceeds the size-limit of %s bytes',Array($this->maxUploadFileSize*1024));
} else $this->writelog(1,1,105,'You are not allowed to upload files!','');
} else $this->writelog(1,2,106,'The uploaded file did not exist!','');
- }
+ } else $this->writelog(1,2,106,'No file was uploaded!','');
}
/**