Subversion Repositories Applications.framework

Rev

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

Rev 254 Rev 255
Line 6... Line 6...
6
 * @category	PHP 5.2
6
 * @category	PHP 5.2
7
 * @package		Framework
7
 * @package		Framework
8
 * @author		aurelien <aurelien@tela-botanica.org>
8
 * @author		aurelien <aurelien@tela-botanica.org>
9
 * @copyright	2009 Tela-Botanica
9
 * @copyright	2009 Tela-Botanica
10
 * @license     http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
10
 * @license     http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
11
 * @version   SVN: $Id: Log.php 254 2010-12-23 10:34:45Z jpm $
11
 * @version   SVN: $Id: Log.php 255 2010-12-23 10:37:30Z jpm $
12
 * @link	  /doc/framework/
12
 * @link	  /doc/framework/
13
 */
13
 */
Line 14... Line 14...
14
 
14
 
Line 73... Line 73...
73
	 */
73
	 */
74
	public static function configurer() {
74
	public static function configurer() {
75
		self::$sd = Config::get('ds');
75
		self::$sd = Config::get('ds');
76
		self::$cheminLogs = Config::get('chemin_logs');
76
		self::$cheminLogs = Config::get('chemin_logs');
77
		self::$timeZone = (Config::get('fw_timezone') != '') ? Config::get('fw_timezone') : self::$timeZone;
77
		self::$timeZone = (Config::get('fw_timezone') != '') ? Config::get('fw_timezone') : self::$timeZone;
78
		self::$tailleMax = Config::get('fw_taille_max_logs');
78
		self::$tailleMax = (Config::get('fw_taille_max_logs') != '') ? Config::get('fw_taille_max_logs') : self::$tailleMax;
79
		self::$logger = Config::get('fw_log_debogage');
79
		self::$logger = (Config::get('fw_log_debogage') != '') ? Config::get('fw_log_debogage') : self::$logger;
80
		self::initialiser();
80
		self::initialiser();
81
	}
81
	}
Line 82... Line 82...
82
 
82
 
83
	/**
83
	/**