meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config_php [2023/09/20 18:08] – [HTTPS enabled status] johnnyconfig_php [2025/03/07 18:52] (current) – [GET IP Method] Changed " to ' to avoid PHP errors 24.251.197.69
Line 23: Line 23:
 ===== Repo Branch ===== ===== Repo Branch =====
  
-  * ''$repo_branch'' - Used to specify the GitHub branch to update against (//master//)+  * ''$repo_branch'' - Used to specify the GitHub branch to update against (usually //master//, but change to //develop// if required)
  
 ===== Application instance name ===== ===== Application instance name =====
Line 36: Line 36:
 ===== HTTPS enabled status ===== ===== HTTPS enabled status =====
  //(Intended for development purposes only)//  //(Intended for development purposes only)//
-  * ''$config_https_only'' - If you need ITFlow to work without HTTPS, you need to set this variable to ''false''. Otherwise login cookies won'work, and you will **not be able to login**.+  * ''$config_https_only'' - If you need ITFlow to work without HTTPS, you need to set this variable to ''false''. Otherwise login cookies won'be set, and you will **not be able to login**.
  
 ===== GET IP Method ===== ===== GET IP Method =====
  //(Not configured by default)//  //(Not configured by default)//
-  * ''DEFINE("CONST_GET_IP_METHOD""HTTP_X_FORWARDED_FOR");''+  * ''DEFINE('CONST_GET_IP_METHOD''HTTP_X_FORWARDED_FOR');''
 By default, ITFlow will retrieve IP addresses using PHP's //REMOTE_ADDR//. If you are using a reverse-proxy, you'll need to configure ITFlow to use the //Forwarded For// header instead. By default, ITFlow will retrieve IP addresses using PHP's //REMOTE_ADDR//. If you are using a reverse-proxy, you'll need to configure ITFlow to use the //Forwarded For// header instead.