mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Add Secure flag (HTTPS only) to cookies
This commit is contained in:
@@ -351,6 +351,7 @@ if(isset($_POST['add_database'])){
|
||||
$new_config[] = "\$mysqli = mysqli_connect(\$dbhost, \$dbusername, \$dbpassword, \$database) or die('Database Connection Failed');\n";
|
||||
$new_config[] = "\$config_app_name = 'ITFlow';\n";
|
||||
$new_config[] = sprintf("\$config_base_url = '%s';\n", addslashes($config_base_url));
|
||||
$new_config[] = "\$config_https_only = TRUE;\n";
|
||||
|
||||
file_put_contents("config.php", $new_config);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user