From 3a10f23bb18998f421bc4a37d522d981b09f30a1 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 11 Apr 2017 14:42:40 -0300 Subject: [PATCH] Revert "Restore CSRF customizations" This reverts commit 1d7a414705794f2527dc1b7b3bb5419db1024bb6. --- src/usr/local/www/csrf/csrf-magic.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/usr/local/www/csrf/csrf-magic.php b/src/usr/local/www/csrf/csrf-magic.php index c8f8ce4810..65db19f3d2 100644 --- a/src/usr/local/www/csrf/csrf-magic.php +++ b/src/usr/local/www/csrf/csrf-magic.php @@ -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(); } }