Update of /cvsroot/phpcvsview/phpcvsview
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30866
Modified Files:
func_ArchiveDownload.php
Log Message:
Added a a reset to the typical time out of 30 seconds for execution in an attempt to correct the download archive option. This was unsuccessful, however the change will still be of use in the processing of large files on a slow CVS server. The download archive will be completely reworked after the next release.
Index: func_ArchiveDownload.php
===================================================================
RCS file: /cvsroot/phpcvsview/phpcvsview/func_ArchiveDownload.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** func_ArchiveDownload.php 4 Feb 2005 09:35:31 -0000 1.3
--- func_ArchiveDownload.php 27 Nov 2005 00:18:28 -0000 1.4
***************
*** 42,45 ****
--- 42,46 ----
if ($folder["Name"] != "Attic") {
DAProcessDirectory($ReposLoc.$folder["Name"]."/", $BasePath."/".$folder["Name"]);
+ set_time_limit(30);
}
}
***************
*** 51,57 ****
fwrite($filehandle, $CVSServer->FILECONTENTS);
fclose($filehandle);
}
$CVSServer->Disconnect();
!
// When we leave this function the contents should be in the File System.
}
--- 52,59 ----
fwrite($filehandle, $CVSServer->FILECONTENTS);
fclose($filehandle);
+ set_time_limit(30);
}
$CVSServer->Disconnect();
!
// When we leave this function the contents should be in the File System.
}
***************
*** 86,89 ****
--- 88,92 ----
return rmdir($dirname);
}
+
function DownloadArchive()
{
|