Subversion Repositories eFlore/Applications.del

Rev

Rev 1876 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1876 Rev 2152
Line 33... Line 33...
33
	 */
33
	 */
34
	public function __construct($fichier_ini = 'widget.ini.php') {
34
	public function __construct($fichier_ini = 'widget.ini.php') {
35
		// Chargement de la configuration
35
		// Chargement de la configuration
36
		self::$config = parse_ini_file($fichier_ini, TRUE);
36
		self::$config = parse_ini_file($fichier_ini, TRUE);
Line 37... Line 37...
37
 
37
 
-
 
38
		// Paramètres de config dynamiques
38
		// Paramêtres de config dynamiques
39
		$protocole = (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on')) ? 'https://' : 'http://';
Line 39... Line 40...
39
		self::$config['chemins']['baseURLAbsoluDyn'] = 'http://'.$_SERVER['SERVER_NAME'].self::$config['chemins']['baseURL'].'%s';
40
		self::$config['chemins']['baseURLAbsoluDyn'] = $protocole . $_SERVER['SERVER_NAME'].self::$config['chemins']['baseURL'].'%s';
40
 
41
 
Line 41... Line 42...
41
		// Gestion de la mémoire maximum allouée aux services
42
		// Gestion de la mémoire maximum allouée aux services