On 23/08/2009, at 2:17 AM, dan nessett wrote:

> --- On Sat, 8/22/09, Platonides <platoni...@gmail.com> wrote:
>
>> How's that better than MW_CONFIG_PATH environment
>> variable?
>
> My understanding is that the administrators of certain installations  
> cannot set environmental variables (I am taking this on faith,  
> because that seems like a very very restricted site). What I  
> suggested takes no work at all by installers or wiki administrators.  
> MWInit.php (or whatever people want to name it) is part of the  
> distribution. When you run a command line utility you have to be  
> able to type something like "php <some name>.php". If you can do  
> that, you should be able to type "php -d <directory where MWINI.php  
> is located> <some name>.php".

$ MW_INSTALL_PATH=/var/wiki/mediawiki php maintenance/update.php


--
Andrew Garrett
agarr...@wikimedia.org
http://werdn.us/


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to