Changeset 4005
- Timestamp:
- Oct 9, 2009, 4:38:54 PM (15 years ago)
- Location:
- branches/2.0
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/admin/include/functions_upgrade.php
r3137 r4005 137 137 global $conf, $page; 138 138 139 if(! get_magic_quotes_gpc())139 if(!@get_magic_quotes_gpc()) 140 140 { 141 141 $username = mysql_real_escape_string($username); -
branches/2.0/include/common.inc.php
r3276 r4005 29 29 $t2 = $t1[1].'.'.$t2[1]; 30 30 31 set_magic_quotes_runtime(0); // Disable magic_quotes_runtime31 @set_magic_quotes_runtime(0); // Disable magic_quotes_runtime 32 32 33 33 // … … 35 35 // precaution to prevent someone trying to break out of a SQL statement. 36 36 // 37 if( ! get_magic_quotes_gpc() )37 if( !@get_magic_quotes_gpc() ) 38 38 { 39 39 function sanitize_mysql_kv(&$v, $k) -
branches/2.0/install.php
r3714 r4005 73 73 } 74 74 75 set_magic_quotes_runtime(0); // Disable magic_quotes_runtime75 @set_magic_quotes_runtime(0); // Disable magic_quotes_runtime 76 76 // 77 77 // addslashes to vars if magic_quotes_gpc is off this is a security 78 78 // precaution to prevent someone trying to break out of a SQL statement. 79 79 // 80 if( ! get_magic_quotes_gpc() )80 if( !@get_magic_quotes_gpc() ) 81 81 { 82 82 if( is_array($_POST) )
Note: See TracChangeset
for help on using the changeset viewer.