Use preferred superglobal
Modified: trunk/web/reactos.org/htdocs/roscms/inc/user_login.php
--- trunk/web/reactos.org/htdocs/roscms/inc/user_login.php 2005-12-13 22:23:08 UTC (rev 20154) +++ trunk/web/reactos.org/htdocs/roscms/inc/user_login.php 2005-12-13 23:06:37 UTC (rev 20155) @@ -290,8 +290,8 @@
exit; }
- $rem_adr = $HTTP_SERVER_VARS['REMOTE_ADDR'];
- $useragent = $HTTP_SERVER_VARS['HTTP_USER_AGENT'];
+ $rem_adr = $_SERVER['REMOTE_ADDR'];
+ $useragent = $_SERVER['HTTP_USER_AGENT'];
// Query DB table 'users' and read the login_counter and settings of // the specific user