Is there a way to upload zip files using the file manager?

Permalink 1 user found helpful
Right now it seems to be telling us we can't. Is there a reason it doesn't let you upload zip files? If so.. is there any way to change that?

getjoel
View Replies:
CC3381 replied on at Permalink Reply
CC3381
yes, Open the /opt/lampp/htdocs/dealer/concrete/config/app.php file and add the .zip extension to the following code and that should do the trick.

if (!defined('UPLOAD_FILE_EXTENSIONS_ALLOWED')) {
   Config::getOrDefine('UPLOAD_FILE_EXTENSIONS_ALLOWED','*.flv;*.jpg;*.gif;*.jpeg;*.ico;*.docx;*.xla;*.png;*.psd;*.swf;*.doc;*.txt;*.xls;*.xlsx;*.csv;*.pdf;*.tiff;*.rtf;*.m4a;*.mov;*.wmv;*.mpeg;*.mpg;*.wav;*.avi;*.m4v;*.mp4;*.mp3;*.qt;*.ppt;*.pptx;*.kml;*.xml;*.zip');
   define('UPLOAD_FILE_EXTENSIONS_CONFIGURABLE', true);
} else {
   define('UPLOAD_FILE_EXTENSIONS_CONFIGURABLE', false);
}


Danny Nunez
getjoel replied on at Permalink Reply
getjoel
Thank you!

Sent from my iPad
Phallanx replied on at Permalink Reply
Phallanx
In the admin screen "Filemanager->Access" add zip to the allowed file extensions.