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

List:       gallery-checkins
Subject:    [Gallery-checkins] CVS: gallery/classes Album.php,1.71,1.72
From:       Bharat Mediratta <bharat () users ! sourceforge ! net>
Date:       2002-03-21 9:38:34
[Download RAW message or body]

Update of /cvsroot/gallery/gallery/classes
In directory usw-pr-cvs1:/tmp/cvs-serv15089a

Modified Files:
	Album.php 
Log Message:
Fixed a bug in the new tsilb checking code that was causing mirroring to fail

Index: Album.php
===================================================================
RCS file: /cvsroot/gallery/gallery/classes/Album.php,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- Album.php	19 Mar 2002 22:29:07 -0000	1.71
+++ Album.php	21 Mar 2002 09:38:32 -0000	1.72
@@ -689,8 +689,8 @@
 
 				/* Don't use fs_fopen here since we're opening a url */
 				if ($fd = @fopen($serial, "r")) {
-					$serialContents = fgets($fd,5);
-					if (!strcmp($serialContents,$this->tsilb)) {
+					$serialContents = fgets($fd, 6);
+					if (!strcmp($serialContents, $this->tsilb)) {
 						$this->transient->mirrorUrl = $base_url;
 						return $this->transient->mirrorUrl;
 					}


__[ 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