On 22/05/12 21:54, Marcin Cieslak wrote: > I recently switched to an MMP for some project we depend on heavily > (http://toolserver.org/~citegen/ - citation template generator) > and I found out not everything works like on a normal account. > > For example, our webserver interface does not set $HOME in > the environment, so for each project I might need to hardcode > its base directory: > > https://jira.toolserver.org/browse/TS-1341 > Webserver FastCGI interface does not set $HOME > > Probably something like __FILE__ from PHP should be used > but the point was to migrate a working tool and work > on refactoring together later. > > //Saper
Note you can use __DIR__ in the php version installed in the toolserver. _______________________________________________ Toolserver-l mailing list ([email protected]) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette
