Skip to content

Commit

Permalink
Enable cookie_secure in PHP ini to avoid issues with some browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
tadhgboyle committed May 14, 2021
1 parent fd14954 commit 7778f3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
$tmp_dir = ini_get('upload_tmp_dir');
}

ini_set('session.cookie_secure', 'On');
ini_set('open_basedir', ROOT_PATH . PATH_SEPARATOR . $tmp_dir . PATH_SEPARATOR . '/proc/stat');

// Get the directory the user is trying to access
Expand Down

0 comments on commit 7778f3f

Please sign in to comment.