Subversion Repositories Applications.framework

Rev

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

Rev 447 Rev 489
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 447 2013-12-19 10:52:37Z jpm $
15
 * @version	$Id: Config.php 489 2014-09-16 13:27:44Z mathias $
16
 * @link		/doc/framework/
16
 * @link		/doc/framework/
17
 */
17
 */
Line 18... Line 18...
18
 
18
 
Line 75... Line 75...
75
 
75
 
76
	/**
76
	/**
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
	public 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['fichier_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);