Changeset 1529
- Timestamp:
- 04/26/06 16:50:29 (3 years ago)
- Files:
-
- alternc/trunk/bureau/class/config.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/trunk/bureau/class/config.php
r1025 r1529 79 79 require_once($root."class/variables.php"); 80 80 81 if (!$_SERVER["HTTPS"]) {82 $conf=variable_init();83 if ($conf["force_https"]) {84 header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]);85 }86 }87 88 81 // Classe héritée de la classe db de la phplib. 89 82 /** … … 113 106 // Current User ID = the user whose commands are made on behalf of. 114 107 $cuid=0; 108 109 if (!$_SERVER["HTTPS"]) { 110 $conf=variable_init(); 111 if ($conf["force_https"]) { 112 header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]); 113 } 114 } 115 115 116 116 $classes=array();
