Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileManager config.php variables being ignored #62

Open
Dannymx opened this issue Sep 18, 2017 · 1 comment
Open

FileManager config.php variables being ignored #62

Dannymx opened this issue Sep 18, 2017 · 1 comment

Comments

@Dannymx
Copy link

Dannymx commented Sep 18, 2017

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.

@neil-jennings
Copy link
Contributor

The $ignore param you've found was added as a temporary work around.
Be aware that the change will be lost when the update assets script is run and a new version of the filemanager is downloaded.

I plan to add proper settings for these after I've organised the settings page in the Coaster a bit, so the list doesn't grow too long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants