Subversion Repositories eFlore/Applications.del

Rev

Rev 1158 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1158 Rev 1462
Line 116... Line 116...
116
		$this->projetNom = 'motscles';
116
		$this->projetNom = 'motscles';
117
	}
117
	}
Line 118... Line 118...
118
 
118
 
119
	private function chargerConfigProjet() {
119
	private function chargerConfigProjet() {
120
		$projet = $this->projetNom;
120
		$projet = $this->projetNom;
121
		$chemin = Config::get('chemin_configurations')."config_$projet.ini";
121
		$chemin = Config::get('chemin_configurations')."config_mots_cles.ini";
122
		Config::charger($chemin);
122
		Config::charger($chemin);
Line 123... Line 123...
123
	}
123
	}
124
 
124
 
Line 178... Line 178...
178
		
178
		
179
		$retour = '';
179
		$retour = '';
180
		$service = null;
180
		$service = null;
181
		foreach ($chemins as $chemin) {
181
		foreach ($chemins as $chemin) {
182
			if (file_exists($chemin)) {
182
			if (file_exists($chemin)) {
183
				$this->conteneur->chargerConfiguration('config_'.$this->projetNom.'.ini');
183
				$this->conteneur->chargerConfiguration('config_mots_cles.ini');
184
				require_once $chemin;
184
				require_once $chemin;
185
				$service = new $classe($this->conteneur);
185
				$service = new $classe($this->conteneur);
186
				if ($this->methode == 'consulter') {
186
				if ($this->methode == 'consulter') {
187
					$retour = $service->consulter($this->ressources, $this->parametres);
187
					$retour = $service->consulter($this->ressources, $this->parametres);