Skip to content

FileManager config.php variables being ignored #62

@Dannymx

Description

@Dannymx

So I was trying to increase the file size limit for the uploads and I noticed that setting the 'MaxSizeUpload' variable to anything different was not taking effect, so I scrolled down in the file and I found the setConfig function that replaces all the variables but the ignore array is empty so all my custom settings are being overridden.

Line 364:
\CoasterCms\Helpers\Admin\FileManager::setConfig($config, ['MaxSizeUpload']);

That helped me to keep my variable as I wanted. Not sure if this was intended or I'm just setting my variables wrong.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions