Skip to content
Snippets Groups Projects
Commit 0468f53f authored by Frank Karlitschek's avatar Frank Karlitschek
Browse files

switch magic quotes off.

they are evil and deprecated
parent 1b34bda7
Branches
No related tags found
No related merge requests found
......@@ -324,6 +324,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment