Skip to content

Commit

Permalink
Add function '_isAllowed()' to 'app/code/community/Uni/Fileuploader/c…
Browse files Browse the repository at this point in the history
…ontrollers/Adminhtml/FileuploaderController.php' - Version 0.2.6
  • Loading branch information
MaWoScha committed Nov 7, 2016
1 parent 52c9f0b commit 6f322f6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ Fixes:

## 0.2.5
Updated Admin Routing to make this module compatible with Patch SUPEE-6788 (MatthijsIJ)

## 0.2.6
Add function "_isAllowed()" to "app/code/community/Uni/Fileuploader/controllers/Adminhtml/FileuploaderController.php"
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,8 @@ public function removeFile($file) {
$result = $io->rmdir($directory, true);
}

protected function _isAllowed() {
return true;
}

}
2 changes: 1 addition & 1 deletion app/code/community/Uni/Fileuploader/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<config>
<modules>
<Uni_Fileuploader>
<version>0.2.5</version>
<version>0.2.6</version>
</Uni_Fileuploader>
</modules>
<frontend>
Expand Down
7 changes: 5 additions & 2 deletions var/connect/Unicode_FileUploader.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<description>Product Attachments extension provides uploading of multiple audio (QuickTime), video, pdf, and many other files and download or view these files on product page using content-disposition property. Supported extensions &quot;jpg&quot;, &quot;jpeg&quot;, &quot;gif&quot;, &quot;png&quot;, &quot;bmp&quot;, &quot;txt&quot;, &quot;csv&quot;, &quot;htm&quot;, &quot;html&quot;, &quot;xml&quot;, &quot;css&quot;, &quot;doc&quot;, &quot;docx&quot;, &quot;xls&quot;, &quot;rtf&quot;, &quot;ppt&quot;, &quot;pdf&quot;, &quot;swf&quot;, &quot;flv&quot;, &quot;avi&quot;, &quot;wmv&quot;, &quot;mov&quot;, &quot;wav&quot;, &quot;mp3&quot;, &quot;zip&quot; and many more.</description>
<license>GPL</license>
<license_uri>http://www.gnu.org/copyleft/gpl.html</license_uri>
<version>0.2.5</version>
<version>0.2.6</version>
<stability>stable</stability>
<notes>Original version from Unicode: 0.2.1

Expand All @@ -36,7 +36,10 @@ added:
* locale/pt_PT/Uni_Fileuploader.csv

Version 0.2.5
* Updated Admin Routing to make this module compatible with Patch SUPEE-6788</notes>
* Updated Admin Routing to make this module compatible with Patch SUPEE-6788

Version 0.2.6
* Add function "_isAllowed()" to "app/code/community/Uni/Fileuploader/controllers/Adminhtml/FileuploaderController.php"</notes>
<authors>
<name>
<name>Unicode Systems</name>
Expand Down

0 comments on commit 6f322f6

Please sign in to comment.