cvs: phpweb / download-docs.php

From: Date: Sun, 26 Aug 2001 12:59:08 +0000
Subject: cvs: phpweb / download-docs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-6138@lists.php.net to get a copy of this message
goba Sun Aug 26 08:59:08 2001 EDT Modified files: /phpweb download-docs.php Log: Reordering, adding the LANG flag to the CHM too, as these files are named as such too. Index: phpweb/download-docs.php diff -u phpweb/download-docs.php:1.14 phpweb/download-docs.php:1.15 --- phpweb/download-docs.php:1.14 Sun Aug 26 08:56:48 2001 +++ phpweb/download-docs.php Sun Aug 26 08:59:08 2001 @@ -52,7 +52,7 @@ "php_manual_LANG.pdf.zip" => array("PDF", "pdf.zip", true), "manual_doc.pdb" => array("PalmPilot DOC", "doc.pdb", true), "manual_isilo.pdb" => array("PalmPilot iSilo", "isilo.pdb", true), - "manual.chm" => array("Windows HTML Help", "chm", true) + "manual_LANG.chm" => array("Windows HTML Help", "chm", true) ); ?> @@ -90,12 +90,10 @@ // temporary hacks until the manuals are at the correct // places and with the correct package file names - if ($fn == "manual.pdf.bz2") { - $link_to = "distributions/manual/php_manual_$langcode.pdf.bz2"; + if ($fn == "manual_LANG.chm") { + $link_to = "distributions/manual/manual-$langcode.chm"; } elseif (preg_match("/php_manual_LANG\.pdf\.(gz|bz2|zip)/", $fn, $mem)) { $link_to = "distributions/manual/php_manual_$langcode.pdf." . $mem[1]; - } elseif ($fn == "manual.chm") { - $link_to = "distributions/manual/manual-$langcode.chm"; } else { $link_to = "manual/$langcode/$fn"; }

« previous php.mirrors (#6138) next »