Skip to content
Permalink
Browse files
Make session cookie httpOnly
  • Loading branch information
samerton committed Oct 25, 2021
1 parent 7fc3d4e commit a65cc3292153e5c73d6bfe20d5f604a6ab69c76b
Showing with 1 addition and 0 deletions.
  1. +1 −0 index.php
@@ -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

0 comments on commit a65cc32

Please sign in to comment.