Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu


Started by Arantor, April 06, 2022, 07:03:01 PM

Previous topic - Next topic


Can we make the whole process of repair_settings.php somewhat less required please?

By which: for 2.2 or whatever, can we do fresh installations and upgrades so that instead of hardcoding a full path and URL into the smileys/avatars/themes/etc etc, we support use of $boarddir, $themedir, $boardurl, $themeurl?

While I appreciate has its own special setup for serving static assets from a different URL, most sites do not. If we could usefully store all these paths in the DB with these tokens and replace them on initialisation with the current paths, the necessity of repair_settings.php drops dramatically.

Plus people can move things between hosts with far, far less complexity because then you only need to update Settings.php.