Merge pull request #2411 from owncloud/fix_magicquotes

remove deprecated call
This commit is contained in:
Frank Karlitschek 2013-03-18 02:37:01 -07:00
commit 67f5b00980
1 changed files with 2 additions and 2 deletions

View File

@ -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.