diff options
author | Renato Botelho <renato@netgate.com> | 2017-04-10 15:05:39 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-04-10 15:05:39 -0300 |
commit | 48da62b4932a041d044e70e2b2e116912a08dac7 (patch) | |
tree | 592892c093d40f9e344463f28db031fead354361 /src/usr/local | |
parent | dc668baa84a0809ac04e7421fa4a17b341572494 (diff) | |
download | pfsense-48da62b4932a041d044e70e2b2e116912a08dac7.zip pfsense-48da62b4932a041d044e70e2b2e116912a08dac7.tar.gz |
Restore CSRF customizations
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/csrf/csrf-magic.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/local/www/csrf/csrf-magic.php b/src/usr/local/www/csrf/csrf-magic.php index 65db19f..c8f8ce4 100644 --- a/src/usr/local/www/csrf/csrf-magic.php +++ b/src/usr/local/www/csrf/csrf-magic.php @@ -13,6 +13,8 @@ * This library is PHP4 and PHP5 compatible. */ +include_once('phpsessionmanager.inc'); + // CONFIGURATION: /** @@ -350,7 +352,7 @@ function csrf_conf($key, $val) { */ function csrf_start() { if ($GLOBALS['csrf']['auto-session'] && !session_id()) { - session_start(); + phpsession_begin(); } } |