Subversion Repositories Applications.framework

Rev

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

Rev 189 Rev 197
Line 6... Line 6...
6
 * @category	PHP 5.2
6
 * @category	PHP 5.2
7
 * @package		Framework
7
 * @package		Framework
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
9
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
9
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
10
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
10
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
11
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2 
11
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
12
 * @version		SVN : $Id: Application.php 189 2010-04-29 12:22:04Z jpm $
12
 * @version		SVN : $Id: Application.php 197 2010-06-23 14:53:35Z aurelien $
13
 * @link		/doc/framework/
13
 * @link		/doc/framework/
14
 */
14
 */
15
class Application {
15
class Application {
Line 16... Line 16...
16
 
16
 
Line 30... Line 30...
30
	 */
30
	 */
31
	private static function initialiser() {
31
	private static function initialiser() {
32
		// Configuration du gestionnaire d'exception
32
		// Configuration du gestionnaire d'exception
33
		GestionnaireException::configurer();
33
		GestionnaireException::configurer();
34
		// Configuration du gestionnaire de logs
34
		// Configuration du gestionnaire de logs
35
		Log::configurer();
35
		//Log::configurer();
36
	}
36
	}
37
	
37
 
38
	/**
38
	/**
39
	 * Permet d'indiquer le chemin de base de l'Application.
39
	 * Permet d'indiquer le chemin de base de l'Application.
40
	 * Cette méthode doit obligatoirement être utilisée par l'application pour que le Framework fonctionne correctement.
40
	 * Cette méthode doit obligatoirement être utilisée par l'application pour que le Framework fonctionne correctement.
41
	 * @param string $chemin_fichier_principal chemin de base
41
	 * @param string $chemin_fichier_principal chemin de base
42
	 */
42
	 */