You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Config.php file contains global functions and requires updating on new versions #111
I just started to use FileRise and found, that the config.php file should be retained on release updates.
This is what the example scripts do.
BUT: The file became very large over the last releases and contains global helper functions, that need to be added on version upgrades.
It would be better to have a pure "configuration" file, separated from global helpers.
I would suggest to either separate the functions into "globalhelper.php" and to import them in config.php or to have custom settings (like Uploads folder, limits and so on) in a separate custom_config.php and to import this in config.php.
BTW: Could you please re-open #110 - I do not have permissions to do so.
You’re right that config.php currently mixes user-retained configuration with core bootstrap/helper logic which that grew over time.
I agree that something like a dedicated config.local.php / custom_config.php override file would be a better long-term direction. I’m treating that as a configuration/maintainability improvement rather than a regression bug, but the concern is valid.
Activity
error311 commentedon Mar 26, 2026
Thanks, this is fair feedback.
You’re right that config.php currently mixes user-retained configuration with core bootstrap/helper logic which that grew over time.
I agree that something like a dedicated config.local.php / custom_config.php override file would be a better long-term direction. I’m treating that as a configuration/maintainability improvement rather than a regression bug, but the concern is valid.
Also reopen #110.