Changeset 1025 for trunk/bureau/class/config.php
- Timestamp:
- 04/26/06 12:16:16 (7 years ago)
- File:
-
- 1 edited
-
trunk/bureau/class/config.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bureau/class/config.php
r868 r1025 38 38 */ 39 39 40 /* 40 /* // Uncomment the following lines and put your IP between the "" to put the dekstop in maintenance mode : 41 41 if (getenv("REMOTE_ADDR")!="81.56.98.108") { 42 42 echo "Le bureau AlternC est en vacances jusqu'a minuit pour maintenance.<br> … … 45 45 } 46 46 */ 47 48 47 49 48 50 // 1. Get a semaphore id for the alternc magic number (18577) … … 77 79 require_once($root."class/variables.php"); 78 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 } 79 87 80 88 // Classe héritée de la classe db de la phplib.
Note: See TracChangeset
for help on using the changeset viewer.
