jidanni@jidanni.org wrote:
Michael Daly michael.daly@kayakwiki.org writes:
Why not put the server URL into AdminSettings.php where all the other maintenance script info goes? No sense using LocalSettings.php for nothing.
Say, can I put the AdminSettings contents into LocalSettings and thus not need to maintain an extra file?
AdminSettings.php is a standalone file that contains very little. LocalSettings.php is part of a larger program (the whole wiki) and is dependent on other files.
Running a maintenance script does not require running the wiki.
Two different things, two different files.
BTW - since AdminSettings.php contains the DB user and password, it's not a bad idea to keep it hidden unless it's actually required. Rename it, move it to another directory, whatever - just don't leave it exposed to the web.
Mike