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
Currently, config.php has configuration parameters, reads configuration from an environment file, validates configuration, and has sql transaction code. These should be mostly split to separate files to separate what users should/shouldn't touch.
Default configuration could go in a separate file (/includes/DefaultSettings.php), with site-specific configuration could go in its own file (LocalSettings.php). Or put it all in the database. It shouldn't rely on environment variables or .env files
Any logic should be moved to a separate file.
The text was updated successfully, but these errors were encountered:
Currently, config.php has configuration parameters, reads configuration from an environment file, validates configuration, and has sql transaction code. These should be mostly split to separate files to separate what users should/shouldn't touch.
Default configuration could go in a separate file (
/includes/DefaultSettings.php
), with site-specific configuration could go in its own file (LocalSettings.php
). Or put it all in the database. It shouldn't rely on environment variables or .env filesAny logic should be moved to a separate file.
The text was updated successfully, but these errors were encountered: