Changeset 1529


Ignore:
Timestamp:
04/26/06 16:50:29 (7 years ago)
Author:
benjamin
Message:

bug db_query corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/bureau/class/config.php

    r1025 r1529  
    7979require_once($root."class/variables.php"); 
    8080 
    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  
    8881// Classe héritée de la classe db de la phplib. 
    8982/** 
     
    113106// Current User ID = the user whose commands are made on behalf of. 
    114107$cuid=0; 
     108 
     109if (!$_SERVER["HTTPS"]) { 
     110  $conf=variable_init(); 
     111  if ($conf["force_https"]) { 
     112    header("Location: https://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]); 
     113  } 
     114} 
    115115 
    116116$classes=array(); 
Note: See TracChangeset for help on using the changeset viewer.