diff --git a/htdocs/conf/conf.class.php3.sample b/htdocs/conf/conf.class.php3.sample index e547690758f..3de1b83716d 100644 --- a/htdocs/conf/conf.class.php3.sample +++ b/htdocs/conf/conf.class.php3.sample @@ -32,6 +32,10 @@ class Conf { $this->db = new DbConf(); + $this->societe = 1; + $this->commercial = 0; + $this->voyage = 0; + $this->propal = new PropalConf(); $this->facture = new FactureConf(); $this->fichinter = new FicheInterConf(); @@ -41,15 +45,11 @@ class Conf { $this->adherent = new AdherentConf(); $this->domaine = new domaineConf(); - $this->commercial = 0; - $this->readonly = 0; $this->years = 2001; $this->css = "theme/dolibarr/dolibarr.css"; - - $this->voyage = 0; } } diff --git a/htdocs/main.inc.php3 b/htdocs/main.inc.php3 index 6efd7b74b91..db124ee9bb5 100644 --- a/htdocs/main.inc.php3 +++ b/htdocs/main.inc.php3 @@ -86,11 +86,14 @@ function top_menu($head) { print '