#1298 [Opn->Csd]: minor doc bug

From: Date: Sat, 01 May 2004 07:00:42 +0000
Subject: #1298 [Opn->Csd]: minor doc bug
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3826@lists.php.net to get a copy of this message
ID: 1298 Updated by: pear.neufeind@speedpartner.de Reported By: ch at lathspell dot de -Status: Open +Status: Closed Bug Type: Documentation Operating System: Debian GNU/Linux PHP Version: 4.3.4 New Comment: This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. Tested it executing via php example.php make php -q example.php make ./example.php make (with a shebang at the top) always make was argv[1] - so I assume this bug was really justified. thank you! Previous Comments: ------------------------------------------------------------------------ [2004-04-27 16:05:53] ch at lathspell dot de Description: ------------ http://pear.php.net/manual/en/package.pear.pear-packagefilemanager.pear-packagefilemanager-summary.php says in the example: 42 if (isset($_GET['make']) || $_SERVER['argv'][2] == 'make') { I think this should read $_SERVER['argv'][1] because else, what should the first argument be? (the 0th is always the name of the command) ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=1298&edit=1

« previous php.pear.doc (#3826) next »