magic_quotes_gpc and register_globals set to off in htaccess file
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Sun, 1 Mar 2009 10:56:27 +0000 (10:56 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Sun, 1 Mar 2009 10:56:27 +0000 (10:56 +0000)
.htaccess [new file with mode: 0644]
CHANGELOG.txt

diff --git a/.htaccess b/.htaccess
new file mode 100644 (file)
index 0000000..d9adb95
--- /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
index 0e16b30debc604180ca39c2c5e4fc61c6e24e1db..e6d19612538c6cdec14d6642e4f61899f161c880 100644 (file)
@@ -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