Skip to content

Commit

Permalink
Make session cookie httpOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
samerton committed Oct 25, 2021
1 parent 7fc3d4e commit a65cc32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.php
Expand Up @@ -43,6 +43,7 @@
ini_set('session.cookie_secure', 'On');
}

ini_set('session.cookie_httponly', 1);
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 a65cc32

Please sign in to comment.