-
Notifications
You must be signed in to change notification settings - Fork 198
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
error webm too long shows max length set in config.php and not instance-config.php #404
Comments
Are you using the new Composer-enabled version? I have a feeling this line: Line 16 in 0daf03c
Is causing your problem. Config file loading order shouldn't be left up to composer. |
@panfu28, do you only have this problem with Line 147 in 0daf03c
|
I haven't tested on the composer-enabled version. I've only had this problem with the $config['webm']['max_length'] line. |
Okay, tested and replacing |
I set the webm max length to 300 seconds on my instance-config.php file but when a user uploaded a webm longer than 300 seconds it still said "The uploaded webm is longer than 120 seconds"
So I thought maybe I have to copy the error config to instance-config.php so it detects the new length cap but even after that and a rebuild it still said 120 seconds, so I went to the config.php file and changed the 120 seconds cap to 300 seconds and now it works but I don't think this is intended as the config.php file says "WARNING: This is a project-wide configuration file and is overwritten when upgrading to a newer version of Tinyboard. Please leave this file unchanged"
The text was updated successfully, but these errors were encountered: