The script won't show everyone the DB credentials. The script simply
assigns the variables. Nothing more.
Darren L. VanBuren
=====================
On Sat, May 2, 2009 at 10:45, Michael Daly <michael.daly(a)kayakwiki.org> wrote:
jidanni(a)jidanni.org wrote:
Michael Daly <michael.daly(a)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
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l