From 63336f2acbf966369db22cc73b9bb5e68c2ecdd2 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Sun, 17 Mar 2013 22:05:45 +0100 Subject: [PATCH] remove deprecated call --- lib/base.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/base.php b/lib/base.php index 59b861ffce..0d33dbb163 100644 --- a/lib/base.php +++ b/lib/base.php @@ -398,8 +398,8 @@ class OC { ini_set('arg_separator.output', '&'); // try to switch magic quotes off. - if (get_magic_quotes_gpc()) { - @set_magic_quotes_runtime(false); + if (get_magic_quotes_gpc()==1) { + ini_set('magic_quotes_runtime', 0); } //try to configure php to enable big file uploads.