[geeklog-cvs] geeklog-1.3/public_html/admin/plugins/staticpages install.php,1.13,1.14

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sun Aug 15 08:06:13 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html/admin/plugins/staticpages
In directory www:/tmp/cvs-serv19064/public_html/admin/plugins/staticpages

Modified Files:
	install.php 
Log Message:
Replaced $REMOTE_ADDR with $HTTP_SERVER_VARS['REMOTE_ADDR']


Index: install.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/plugins/staticpages/install.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** install.php	14 Jan 2004 18:05:42 -0000	1.13
--- install.php	15 Aug 2004 12:06:10 -0000	1.14
***************
*** 47,51 ****
  if (!SEC_inGroup('Root')) {
      // Someone is trying to illegally access this page
!     COM_errorLog("Someone has tried to illegally access the Static Pages install/uninstall page.  User id: {$_USER['uid']}, Username: {$_USER['username']}, IP: $REMOTE_ADDR",1);
      $display = COM_siteHeader();
      $display .= COM_startBlock($LANG_STATIC['access_denied']);
--- 47,51 ----
  if (!SEC_inGroup('Root')) {
      // Someone is trying to illegally access this page
!     COM_errorLog("Someone has tried to illegally access the Static Pages install/uninstall page.  User id: {$_USER['uid']}, Username: {$_USER['username']}, IP: {$HTTP_SERVER_VARS['REMOTE_ADDR']}",1);
      $display = COM_siteHeader();
      $display .= COM_startBlock($LANG_STATIC['access_denied']);




More information about the geeklog-cvs mailing list