From: Roberto S. <rs...@gm...> - 2006-06-14 17:18:26
|
that did the trick, thanks very much On 6/14/06, Claes Wikstr=F6m <kl...@ta...> wrote: > Roberto Saccon wrote: > > Is there a recommeded way of defining global variables in a configurati= on file ? > > > > ? > > > I saw that yaws can have custom argument "erlarg" at startup, that > > would be serve my needs, but how can I acces it form the yaws webapp ? > > > > regards > > [klacke@buzz]~ > yaws -i -erlarg "-myflag foo" > ..... > > 2> init:get_arguments(). > [{root,["/usr/local/lib/erlang"]}, > {progname,["erl"]}, > {home,["/home/klacke"]}, > {pa,["/home/klacke/yaws/yaws/scripts/../ebin"]}, > {myflag,["foo"]}, > {yaws,["debug"]}] > 3> > > > /klacke > > > -- > Claes Wikstrom -- Caps lock is nowhere and > http://www.tail-f.com -- everything is under control > cellphone: +46 70 2097763 > --=20 Roberto Saccon |