Re: phpweb / docs.php

From: Date: Sat, 04 Aug 2001 13:29:13 +0000
Subject: Re: phpweb / docs.php
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5847@lists.php.net to get a copy of this message
> ... and the directory was a wrong one too ... Erm, the directories, and file names should be decided IMHO. This is a thread, I tried to start for several times, but nothing turned out. if ($fn == "manual.pdf.bz2") { $link_to = "distributions/manual/manual-$langcode.pdf.bz2"; } elseif ($fn == "manual.pdf.gz") { $link_to = "distributions/manual/manual-$langcode.pdf.gz"; } if ($fn == "manual.pdf.zip") { $link_to = "distributions/manual/manual-$langcode.pdf.zip"; } elseif ($fn == "manual.chm") { $link_to = "distributions/manual_$langcode.chm"; } else { $link_to = "manual/$langcode/$fn"; } Now chms are in the distributions dir, named $langcode.chm, pdfs are in the distributions/manual/dir named as the chms, with language codes. Other formats are in the manual/$langcode dir, but the langcodes are not contained within the filenames. Hm... Not so consistent... See my previous letters about manual package naming in the archives of phpdoc and php-mirrors. I sent my arguments several times. Goba

« previous php.mirrors (#5847) next »