Changeset 933
- Timestamp:
- 04/09/07 14:15:20 (1 year ago)
- Files:
-
- trunk/upload/include/common.php (modified) (1 diff)
- trunk/upload/include/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/upload/include/common.php
r285 r933 38 38 39 39 // Reverse the effect of register_globals 40 if (@ini_get('register_globals')) 41 unregister_globals(); 40 unregister_globals(); 42 41 43 42 trunk/upload/include/functions.php
r932 r933 1067 1067 function unregister_globals() 1068 1068 { 1069 $register_globals = @ini_get('register_globals'); 1070 if ($register_globals === "" || $register_globals === "0" || strtolower($register_globals === "off")) 1071 return; 1072 1069 1073 // Prevent script.php?GLOBALS[foo]=bar 1070 1074 if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS']))
