try to switch magic quotes off.

it´s evil and deprecated
This commit is contained in:
Frank Karlitschek 2012-06-01 12:41:38 +02:00
parent 93295994dc
commit 75d56f24f2
1 changed files with 5 additions and 0 deletions

View File

@ -329,6 +329,11 @@ class OC{
date_default_timezone_set('UTC');
ini_set('arg_separator.output','&');
// try to switch magic quotes off.
if(function_exists('set_magic_quotes_runtime')) {
@set_magic_quotes_runtime(false);
}
//try to configure php to enable big file uploads.
//this doesn´t work always depending on the webserver and php configuration.
//Let´s try to overwrite some defaults anyways