The script won't show everyone the DB credentials. The script simply
assigns the variables. Nothing more.

Darren L. VanBuren
=====================
http://oks.tumblr.com/



On Sat, May 2, 2009 at 10:45, Michael Daly <[email protected]> wrote:
> [email protected] wrote:
>> Michael Daly <[email protected]> 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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to