From c5473502c6d10a060d7c1696e15b2ca9711dd162 Mon Sep 17 00:00:00 2001 From: jlb Date: Wed, 28 May 2003 17:29:05 +0000 Subject: [PATCH] debut de conf de virtualhost (simple mais a tester voir si pas de soucis ailleurs) --- htdocs/conf/conf.class.php3.sample | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/htdocs/conf/conf.class.php3.sample b/htdocs/conf/conf.class.php3.sample index 7f91755b3b6..9b5995fdea0 100644 --- a/htdocs/conf/conf.class.php3.sample +++ b/htdocs/conf/conf.class.php3.sample @@ -93,6 +93,23 @@ class DbConf { $this->user = ""; $this->pass = ""; $this->name = "dolibarr"; +/* + * If you want to activate virtualhosting you need tou use these lines and add + * this to your pache virtualhost file + SetEnv LLX_DBTYPE mysql + SetEnv LLX_DBHOST localhost + SetEnv LLX_DBUSER user + SetEnv LLX_DBPASS pass + SetEnv LLX_DBNAME dolibarr +*/ +/* + $this->type = getenv("LLX_DBTYPE"); + $this->host = getenv("LLX_DBHOST"); + $this->user = getenv("LLX_DBUSER"); + $this->pass = getenv("LLX_DBPASS"); + $this->name = getenv("LLX_DBNAME"); +*/ + } } /*