Skip to content

Commit

Permalink
Update FileUpload.php
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Mar 25, 2016
1 parent 500b82b commit 9c75977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/FileUpload.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function getFileSize() {
class FileUpload {
public $uploadDir; // File upload directory (include trailing slash)
public $allowedExtensions; // Array of permitted file extensions
public $sizeLimit = 10485760; // Max file upload size in bytes (default 10MB)
public $sizeLimit = 10485760000; // Max file upload size in bytes (default 10GB)
public $newFileName; // Optionally save uploaded files with a new name by setting this
public $corsInputName = 'XHR_CORS_TARGETORIGIN';
private $fileName; // Filename of the uploaded file
Expand Down

0 comments on commit 9c75977

Please sign in to comment.