|
From: Jon O. <jon...@us...> - 2006-09-17 11:08:23
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17433 Modified Files: .htaccess common.php Log Message: register globals fixes Index: .htaccess =================================================================== RCS file: /cvsroot/mxbb/core/.htaccess,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** .htaccess 14 Sep 2006 18:01:15 -0000 1.5 --- .htaccess 17 Sep 2006 11:08:16 -0000 1.6 *************** *** 6,16 **** # Just in case, let's disable register globals. ! php_flag "register_globals" "0" # Disable the security module ! #SecFilterEngine off # Disable eaccelerator ! #php_flag eaccelerator.enable 0 # --- 6,16 ---- # Just in case, let's disable register globals. ! php_flag register_globals 0 # Disable the security module ! # SecFilterEngine off # Disable eaccelerator ! # php_flag eaccelerator.enable 0 # Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** common.php 6 Sep 2006 19:59:00 -0000 1.59 --- common.php 17 Sep 2006 11:08:16 -0000 1.60 *************** *** 68,75 **** { // PHP4+ path ! $not_unset = array('HTTP_GET_VARS', 'HTTP_POST_VARS', 'HTTP_COOKIE_VARS', 'HTTP_SERVER_VARS', 'HTTP_SESSION_VARS', 'HTTP_ENV_VARS', 'HTTP_POST_FILES', 'phpEx', 'phpbb_root_path'); ! //+MOD: Added by mxBB ! $not_unset[] = 'mx_root_path'; ! //-MOD: Added by mxBB // Not only will array_merge give a warning if a parameter --- 68,72 ---- { // PHP4+ path ! $not_unset = array('HTTP_GET_VARS', 'HTTP_POST_VARS', 'HTTP_COOKIE_VARS', 'HTTP_SERVER_VARS', 'HTTP_SESSION_VARS', 'HTTP_ENV_VARS', 'HTTP_POST_FILES', 'phpEx', 'phpbb_root_path', 'mx_root_path'); // Not only will array_merge give a warning if a parameter |