Changeset 1080

Show
Ignore:
Timestamp:
05/12/08 16:25:10 (7 months ago)
Author:
_ck_
Message:

change from old style http_server_vars to new $_SERVER style

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bb-attachments/trunk/bb-attachments.php

    r1070 r1080  
    208208if (!$user_id || !$post_id || !bb_current_user_can('edit_post',$post_id) || !bb_current_user_can($bb_attachments['role']['upload'])) {return;}   
    209209 
    210 $user_ip=$GLOBALS["HTTP_SERVER_VARS"]["REMOTE_ADDR"]; 
     210$user_ip=$_SERVER["REMOTE_ADDR"];  // $GLOBALS["HTTP_SERVER_VARS"]["REMOTE_ADDR"]; 
    211211$time=time();                                            
    212212