[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-checkins
Subject:    [Gallery-checkins] CVS: gallery2/setup setup.php,1.11,1.12
From:       Bharat Mediratta <bharat () users ! sourceforge ! net>
Date:       2002-10-31 18:32:47
[Download RAW message or body]

Update of /cvsroot/gallery/gallery2/setup
In directory usw-pr-cvs1:/tmp/cvs-serv7709

Modified Files:
	setup.php 
Log Message:
Fixed a bug in CheckFileDirective that would cause it to fail on windows.


Index: setup.php
===================================================================
RCS file: /cvsroot/gallery/gallery2/setup/setup.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- setup.php	26 Oct 2002 08:13:30 -0000	1.11
+++ setup.php	31 Oct 2002 18:32:42 -0000	1.12
@@ -205,7 +205,8 @@
 }
 
 function CheckFileDirective() {
-    if (strstr(__FILE__, 'setup/setup.php')) {
+    if (strstr(__FILE__, 'setup/setup.php') ||
+	strstr(__FILE__, 'setup\\setup.php')) {
 	return 1;
     } else {
 	return 0;



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic