Its untrue that the list of extra allowed extensions for uploaded files
has to start with a space - its even a little quirky since the code expands that to a regex like "/\.(|ext1|ext2...)$/", so in theory files which end up with a dot and without an extension would be allowed by this. For now we just fix the comment and indentation of the default configuration option.
This commit is contained in:
parent
d994e0efb0
commit
d171a249c5
@ -205,8 +205,8 @@ $cfg['db_database'] = 'website'; # put absolute path to the db if you
|
||||
# are using SQLite.
|
||||
#
|
||||
# The extension of the downloads are limited. You can add extra
|
||||
# extensions here. The list must start with a space.
|
||||
# $cfg['idf_extra_upload_ext'] = ' ext1 ext2';
|
||||
# extensions here.
|
||||
# $cfg['idf_extra_upload_ext'] = 'ext1 ext2';
|
||||
#
|
||||
# By default, the size of the downloads is limited to 2MB.
|
||||
# The php.ini upload_max_filesize configuration setting will
|
||||
|
Loading…
Reference in New Issue
Block a user