[geeklog-cvs] Geeklog-1.x/public_html/admin/install config-install.php, 1.32, 1.33

Dirk Haun dhaun at qs1489.pair.com
Sun Sep 21 04:37:11 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install
In directory qs1489.pair.com:/tmp/cvs-serv33344/public_html/admin/install

Modified Files:
	config-install.php 
Log Message:
Fixed protection against direct execution on non-case sensitive file systems


Index: config-install.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/install/config-install.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** config-install.php	5 Aug 2008 17:52:16 -0000	1.32
--- config-install.php	21 Sep 2008 08:37:09 -0000	1.33
***************
*** 32,37 ****
  // $Id$
  
! if (strpos($_SERVER['PHP_SELF'], 'config-install.php') !== false) {
!     die ('This file can not be used on its own!');
  }
  
--- 32,37 ----
  // $Id$
  
! if (strpos(strtolower($_SERVER['PHP_SELF']), 'config-install.php') !== false) {
!     die('This file can not be used on its own!');
  }
  




More information about the geeklog-cvs mailing list