Changes

Jump to navigation Jump to search
Add table for $dolibarr_main_force_https
Line 16: Line 16:  
<source lang="php">
 
<source lang="php">
 
//conf/conf.php file
 
//conf/conf.php file
//$dolibarr_main_force_https = '0';
+
//example of $dolibarr_main_force_https configuration
 
$dolibarr_main_force_https = '1';//to force https
 
$dolibarr_main_force_https = '1';//to force https
 +
</source>
 +
 +
{| class=wikitable style="width:100%;"
 +
! scope="col"| Values
 +
! scope="col"| Description
 +
 +
|-
 +
| style="width:50%;" |
 +
0
 +
| style="width:50%;" |
 +
No forced redirect
 +
 +
|-
 +
| style="width:50%;" |
 +
1
 +
| style="width:50%;" |
 +
Force redirect to https, until SCRIPT_URI start with https into response
   −
</source>
+
|-
 +
| style="width:50%;" |
 +
2
 +
| style="width:50%;" |
 +
Force redirect to https, until SERVER["HTTPS"] is 'on' into response
 +
 
 +
|}
    
'''Hacks and cracks'''
 
'''Hacks and cracks'''
56

edits

Navigation menu