From 9209598a6fb404dea3cfe118a87ba343f9c31294 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 15 Apr 2005 12:36:08 +0000 Subject: [PATCH] Correction du nom du repertoire --- htdocs/includes/modules/modPropale.class.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/htdocs/includes/modules/modPropale.class.php b/htdocs/includes/modules/modPropale.class.php index a4b03960e62..a81a09e3d74 100644 --- a/htdocs/includes/modules/modPropale.class.php +++ b/htdocs/includes/modules/modPropale.class.php @@ -54,7 +54,10 @@ class modPropale extends DolibarrModules $this->family = "crm"; $this->name = "Propositions commerciales"; $this->description = "Gestion des propositions commerciales"; - $this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version + + $this->revision = explode(" ","$Revision$"); + $this->version = $this->revision[1]; + $this->const_name = "MAIN_MODULE_PROPALE"; $this->const_config = MAIN_MODULE_PROPALE; $this->special = 0; @@ -139,7 +142,7 @@ class modPropale extends DolibarrModules $this->rights[6][4] = 'supprimer'; // Répertoires - $this->dirs[0] = $conf->propale->dir_output; + $this->dirs[0] = $conf->propal->dir_output; $sql = array( "DELETE FROM ".MAIN_DB_PREFIX."propal_model_pdf WHERE nom = '".$this->const[0][2]."'",