cvs: phpweb /include shared-manual.inc

From: Date: Tue, 28 Aug 2001 07:28:17 +0000
Subject: cvs: phpweb /include shared-manual.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-6162@lists.php.net to get a copy of this message
jimw Tue Aug 28 03:28:17 2001 EDT Modified files: /phpweb/include shared-manual.inc Log: sheesh, who wrote this crap. :) Index: phpweb/include/shared-manual.inc diff -u phpweb/include/shared-manual.inc:1.109 phpweb/include/shared-manual.inc:1.110 --- phpweb/include/shared-manual.inc:1.109 Tue Aug 28 02:36:12 2001 +++ phpweb/include/shared-manual.inc Tue Aug 28 03:28:17 2001 @@ -184,10 +184,11 @@ } else { global $DOCUMENT_ROOT; $hash = substr(md5($id),0,16); - $notes_file = "$DOCUMENT_ROOT/backend/manual/".substr($hash,0,2)."/$hash"; + $notes_file = "$DOCUMENT_ROOT/backend/notes/".substr($hash,0,2)."/$hash"; if ($fp = @fopen($notes_file,"r")) { while (!feof($fp)) { - list($id,$sect,$rate,$ts,$user,$note) = fgets($fp,8096); + $line = chop(fgets($fp,8096)); + list($id,$sect,$rate,$ts,$user,$note) = explode("|",$line); $notes[] = array( "id" => $id, "sect" => $sect,

« previous php.mirrors (#6162) next »