mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
parent
8e1b1f9547
commit
3a10f23bb1
@ -13,8 +13,6 @@
|
||||
* This library is PHP4 and PHP5 compatible.
|
||||
*/
|
||||
|
||||
include_once('phpsessionmanager.inc');
|
||||
|
||||
// CONFIGURATION:
|
||||
|
||||
/**
|
||||
@ -352,7 +350,7 @@ function csrf_conf($key, $val) {
|
||||
*/
|
||||
function csrf_start() {
|
||||
if ($GLOBALS['csrf']['auto-session'] && !session_id()) {
|
||||
phpsession_begin();
|
||||
session_start();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user