Closed 2maxio closed 5 years ago
@2maxio thank you that you noticed this.
construct returns a value for the class that extends the FileUploader class. E.g: `$initStatus = parent::construct();`
for the Windows, sometimes it can give an error so we will change it
$this->field['input']['name']
is an unchanged variable
we used our own comments to make it readable.
thank you. By the way, maybe you don't have to open the class.fileuploader.php and to make there any changes because of the future updates.
constructors do not return anything in PHP it should just be like that:
it should be changed to:
$sp = fopen($file['tmp_name'], 'rb');
by adding "b" flag for fopen mode, as php documentation suggests: https://www.php.net/manual/en/function.fopen.phpcode should not count in loop
PHPdoc have different structure, than used in code:
should be:
because IDE can not read current one