From c97f28534b45aca976eefb9d98956d4543ed1d95 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Mon, 7 Mar 2011 13:22:27 +0000
Subject: [PATCH] _include.php: Disable magic_quotes_runtime.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2742 44740490-163a-0410-bde0-09ae8108e29a
---
 www/_include.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/_include.php b/www/_include.php
index 869d3b520..595a6bcc3 100644
--- a/www/_include.php
+++ b/www/_include.php
@@ -17,6 +17,9 @@ if(get_magic_quotes_gpc()) {
 		}
 	}
 }
+if (get_magic_quotes_runtime()) {
+	set_magic_quotes_runtime(FALSE);
+}
 
 
 /* Initialize the autoloader. */
-- 
GitLab