open Pxp_types;;
open Pxp_yacc;;
-let version = "0.2.0"
+let version = Http_getter_const.version
type setting_src =
| Environment (* read setting from environment variables *)
let conf_dir =
Pcre.replace ~pat:"/$" (Sys.getenv "HELM_CONFIGURATION_DIR")
in
- (conf_dir ^ "/configuration.xml", conf_dir)
+ (conf_dir ^ "/" ^ Http_getter_const.conffile, conf_dir)
with Not_found -> failwith "HELM_CONFIGURATION_DIR undefined"
let safe_getenv ?(from = Both) var =