Subversion Repositories Applications.framework

Rev

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

Rev 390 Rev 395
Line 10... Line 10...
10
 * @package	Framework
10
 * @package	Framework
11
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
11
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
12
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
12
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
13
 * @license	http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
13
 * @license	http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
14
 * @license	http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
14
 * @license	http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
15
 * @version	$Id: Config.php 390 2011-11-09 13:06:50Z jpm $
15
 * @version	$Id: Config.php 395 2011-11-15 09:16:19Z aurelien $
16
 * @link		/doc/framework/
16
 * @link		/doc/framework/
17
 */
17
 */
Line 18... Line 18...
18
 
18
 
Line 77... Line 77...
77
	 * Charge le fichier de config correspondant au contexte
77
	 * Charge le fichier de config correspondant au contexte
78
	 * @param string $contexte le contexte
78
	 * @param string $contexte le contexte
79
	 */
79
	 */
80
	private static function chargerFichierContexte($contexte) {
80
	private static function chargerFichierContexte($contexte) {
81
		$chemin_config_appli_contextuel = self::$parametres['chemin_configurations'];
81
		$chemin_config_appli_contextuel = self::$parametres['chemin_configurations'];
82
		$chemin_config_appli_contextuel .= sprintf(self::$parametres['ffichier_config'], '_'.$contexte);
82
		$chemin_config_appli_contextuel .= sprintf(self::$parametres['fichier_config'], '_'.$contexte);
83
		self::parserFichierIni($chemin_config_appli_contextuel);
83
		self::parserFichierIni($chemin_config_appli_contextuel);
84
	}
84
	}
Line 85... Line 85...
85
 
85
 
86
	/**
86
	/**