Niels Breet xfade at lists.slony.info
Tue Jan 30 11:23:20 PST 2007
Update of /home/cvsd/slony1/slony1-www
In directory main:/tmp/cvs-serv22865

Modified Files:
	index.php 
Log Message:
Add cvs page

Index: index.php
===================================================================
RCS file: /home/cvsd/slony1/slony1-www/index.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** index.php	30 Jan 2007 16:05:39 -0000	1.1
--- index.php	30 Jan 2007 19:23:18 -0000	1.2
***************
*** 13,17 ****
    case 'cvs':
  	echo layout_header();
! 	echo 'cvs';
  	break;
    default:
--- 13,25 ----
    case 'cvs':
  	echo layout_header();
! 	$fp = fopen('./content/cvs.txt','r');
! 	if ($fp){
! 		$title=fgets($fp,256);
! 		$link=fgets($fp,256);
! 		$text="";
! 		while (!feof($fp)) $text.=fgets($fp,256);
! 		fclose($fp);
! 	}
! 	echo layout_defaultblock($title,$link,$text);	
  	break;
    default:




More information about the Slony1-commit mailing list