summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/csrf/csrf-magic.php4
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();
}
}
OpenPOWER on IntegriCloud