Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Update setup.sql
Browse files Browse the repository at this point in the history
Increase default max upload file size to 10MB
  • Loading branch information
bossloper committed May 6, 2015
1 parent 4e8b8da commit 2b56d5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/setup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ INSERT IGNORE INTO `{PREFIX}system_settings`
('upload_media','au,avi,mp3,mp4,mpeg,mpg,wav,wmv'),
('upload_flash','fla,flv,swf'),
('upload_files','aac,au,avi,css,cache,doc,docx,gz,gzip,htaccess,htm,html,js,mp3,mp4,mpeg,mpg,ods,odp,odt,pdf,ppt,pptx,rar,tar,tgz,txt,wav,wmv,xls,xlsx,xml,z,zip'),
('upload_maxsize','1048576'),
('upload_maxsize','10485760'),
('new_file_permissions','0644'),
('new_folder_permissions','0755'),
('filemanager_path',''),
Expand Down Expand Up @@ -1089,4 +1089,4 @@ UPDATE `{PREFIX}user_settings` SET

REPLACE INTO `{PREFIX}system_settings` (setting_name, setting_value) VALUES ('manager_theme','MODxRE');

UPDATE `{PREFIX}system_settings` set setting_value = if(setting_value REGEXP 'application/json',setting_value,concat_ws(",",setting_value,"application/json")) WHERE setting_name='custom_contenttype';
UPDATE `{PREFIX}system_settings` set setting_value = if(setting_value REGEXP 'application/json',setting_value,concat_ws(",",setting_value,"application/json")) WHERE setting_name='custom_contenttype';

0 comments on commit 2b56d5d

Please sign in to comment.