aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2013-03-17 22:05:45 +0100
committerFrank Karlitschek <frank@owncloud.org>2013-03-17 22:05:45 +0100
commit63336f2acbf966369db22cc73b9bb5e68c2ecdd2 (patch)
tree35bce8e1328a3986b357d96c1bfbef7d5fb06057 /lib/base.php
parent2a48aa322dbb28c62afac216007a05c88f36ec6f (diff)
downloadnextcloud-server-63336f2acbf966369db22cc73b9bb5e68c2ecdd2.tar.gz
nextcloud-server-63336f2acbf966369db22cc73b9bb5e68c2ecdd2.zip
remove deprecated call
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index 59b861ffce1..0d33dbb163e 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -398,8 +398,8 @@ class OC {
ini_set('arg_separator.output', '&amp;');
// 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.