Changeset 1545

Show
Ignore:
Timestamp:
04/27/06 00:13:55 (3 years ago)
Author:
anarcat
Message:

completely revert [1025] since we rely on apache config to enable/disable ssl/non-ssl now

Files:

Legend:

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

    r1529 r1545  
    3838*/ 
    3939 
    40 /* // Uncomment the following lines and put your IP between the "" to put the dekstop in maintenance mode :  
     40/* 
    4141if (getenv("REMOTE_ADDR")!="81.56.98.108") { 
    4242  echo "Le bureau AlternC est en vacances jusqu'a minuit pour maintenance.<br> 
     
    4545} 
    4646*/ 
    47  
    48  
    4947 
    5048// 1. Get a semaphore id for the alternc magic number (18577) 
     
    107105$cuid=0; 
    108106 
    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 } 
    115107 
    116108$classes=array(); 
  • alternc/trunk/install/upgrades/0.9.5.sql

    r1537 r1545  
    77ALTER IGNORE TABLE ftpusers ADD COLUMN encrypted_password VARCHAR(32) default NULL AFTER password; 
    88UPDATE ftpusers SET encrypted_password=ENCRYPT(password) WHERE password!=''; 
    9  
    10 -- Force le bureau https si voulu :  
    11 INSERT INTO variable SET name='force_https', value='0', comment='Shall we force the users to access the managment desktop through HTTPS only ? If this value is true, HTTPS access will be forced. '; 
    129 
    1310-- --------------------------------------------------------