From: Janusz Dobrowolski Date: Sun, 1 Mar 2009 10:56:27 +0000 (+0000) Subject: magic_quotes_gpc and register_globals set to off in htaccess file X-Git-Tag: v2.4.2~19^2~1498 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=990ae2b5c9ce5b4f0ab137241ff00032e8133975;hp=6b338e9f3a82343490bb346b747a2ae341dc4882;p=fa-stable.git magic_quotes_gpc and register_globals set to off in htaccess file --- diff --git a/.htaccess b/.htaccess new file mode 100644 index 00000000..d9adb950 --- /dev/null +++ b/.htaccess @@ -0,0 +1,17 @@ +# These settings are recommended +# Maybe you might have problems +# with other scripts that needs +# register_globals ON +php_flag magic_quotes_gpc Off +php_flag register_globals Off + +#This can be changed only in php.ini or httpd.conf for better security +#php_flag safe_mode On + +# This can be changed only in php.ini +#php_flag disable_functions "apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd, eval, exec, fp, fput, ftp_connect, ftp_exec, ftp_get, ftp_login, ftp_nb_fput, ftp_put, ftp_raw, ftp_rawlist, highlight_file, ini_alter, ini_get_all, ini_restore, inject_code, mysql_pconnect, openlog, passthru, php_uname, phpAds_remoteInfo, phpAds_XmlRpc, phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, syslog, system, xmlrpc_entity_decode" + +#Sometimes neccessary to add those +# +#AddType application/x-javascript .js +#AddType text/css .css diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 0e16b30d..e6d19612 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +01-Mar-2009 Janusz Dobrowolski +# Setting magic_quotes_gpc and register_globals to off in htaccess file +$ /.htaccess (new) + 28-Feb-2009 Joe Hunt ! Improved layout in standard themes (graphics) $ /themes/aqua/renderer.php