mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Simplify allowed_filetypes input format
This commit is contained in:
parent
8c242327a8
commit
c40a47724d
11 changed files with 61 additions and 25 deletions
|
|
@ -21,6 +21,7 @@ class file extends ModuleObject
|
|||
$config->allowed_filesize = '2';
|
||||
$config->allowed_attach_size = '2';
|
||||
$config->allowed_filetypes = '*.*';
|
||||
$config->allowed_extensions = array();
|
||||
$oModuleController->insertModuleConfig('file', $config);
|
||||
// Generate a directory for the file module
|
||||
FileHandler::makeDir('./files/attach/images');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue