Changeset 614
- Timestamp:
- 10/31/06 20:33:01 (2 years ago)
- Files:
-
- branches/punbb-1.3-dev/upload/include/common.php (modified) (1 diff)
- branches/punbb-1.3-dev/upload/include/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/punbb-1.3-dev/upload/include/common.php
r576 r614 38 38 39 39 // Reverse the effect of register_globals 40 if (@ini_get('register_globals')) 41 pun_unregister_globals(); 40 pun_unregister_globals(); 42 41 43 42 branches/punbb-1.3-dev/upload/include/functions.php
r613 r614 1032 1032 function pun_unregister_globals() 1033 1033 { 1034 $register_globals = @ini_get('register_globals'); 1035 if ($register_globals === "" || $register_globals === "0" || strtolower($register_globals === "off")) 1036 return; 1037 1034 1038 // Prevent script.php?GLOBALS[foo]=bar 1035 1039 if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS']))
