Revert "Restore CSRF customizations"

This reverts commit 1d7a414705.
This commit is contained in:
Renato Botelho 2017-04-11 14:42:40 -03:00
parent 8e1b1f9547
commit 3a10f23bb1

View File

@ -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();
}
}