ClosestStorm / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

env variable to tell v8cgi where is the v8cgi.conf #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
is there one available at runtime ?
i mean something like :
V8CGI_CONFIG=./v8cgi.conf ./v8cgi example/example.js

Original issue reported on code.google.com by holisme on 19 Apr 2009 at 8:59

GoogleCodeExporter commented 9 years ago
sorry, not a defect.

Original comment by holisme on 19 Apr 2009 at 8:59

GoogleCodeExporter commented 9 years ago
Not sure why this is necessary. However, it is easy to add, so I will probably
implement it.

Original comment by ondrej.zara on 20 Apr 2009 at 5:59

GoogleCodeExporter commented 9 years ago
that would be because you don't want hard coded paths in your application !
thanks.

Original comment by holisme on 20 Apr 2009 at 6:18

GoogleCodeExporter commented 9 years ago
To specify a config file location, you normally use "v8cgi -c 
/path/to/configfile". I
thought that you want v8cgi to actually *update* the relevant env. variable 
based on
the path you used to load the config file :)

Original comment by ondrej.zara on 20 Apr 2009 at 6:26

GoogleCodeExporter commented 9 years ago

Original comment by ondrej.zara on 26 May 2009 at 3:38