Subversion Repositories Applications.framework

Rev

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

Rev 188 Rev 254
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 188 2010-04-29 12:09:17Z jpm $
11
 * @version   SVN: $Id: Log.php 254 2010-12-23 10:34:45Z jpm $
12
 * @link	  /doc/framework/
12
 * @link	  /doc/framework/
13
 */
13
 */
Line 14... Line 14...
14
 
14
 
Line 72... Line 72...
72
	 * Configure le Log à partir des paramêtres de config.
72
	 * Configure le Log à partir des paramêtres de config.
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');
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');
79
		self::$logger = Config::get('fw_log_debogage');
79
		self::$logger = Config::get('fw_log_debogage');
80
		self::initialiser();
80
		self::initialiser();
81
	}
81
	}