cvs: pear /Net_SMTP package.php

From: Date: Thu, 11 Mar 2004 12:07:08 +0000
Subject: cvs: pear /Net_SMTP package.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-17299@lists.php.net to get a copy of this message
lsmith Thu Mar 11 07:07:08 2004 EDT Modified files: /pear/Net_SMTP package.php Log: - fixed minor issue in the changelog text - fixed tab to spaces - fixed baseinstalldir - fixed minor issue with calling the package.php from the browser and/or without an argument http://cvs.php.net/diff.php/pear/Net_SMTP/package.php?r1=1.1&r2=1.2&ty=u Index: pear/Net_SMTP/package.php diff -u pear/Net_SMTP/package.php:1.1 pear/Net_SMTP/package.php:1.2 --- pear/Net_SMTP/package.php:1.1 Thu Mar 11 03:16:56 2004 +++ pear/Net_SMTP/package.php Thu Mar 11 07:07:08 2004 @@ -9,7 +9,7 @@ EOT; $changelog = <<<EOT -The connect() method has grown an optional $persistent parameter that will be passed to the Net_Socket::connect() method. Previously, persistent connections will always disabled. $persistent defaults to false. +The connect() method has grown an optional 'persistent' parameter that will be passed to the Net_Socket::connect() method. Previously, persistent connections will always disabled. 'persistent' defaults to false. EOT; $package = new PEAR_PackageFileManager(); @@ -25,8 +25,8 @@ 'notes' => $notes, 'changelognotes' => $changelog, 'changelogoldtonew' => false, - 'simpleoutput' => true, - 'baseinstalldir' => '/', + 'simpleoutput' => true, + 'baseinstalldir' => '/Net', 'packagedirectory' => '')); if (PEAR::isError($result)) { @@ -39,7 +39,7 @@ $package->addDependency('Net_Socket', false, 'has', 'pkg'); $package->addDependency('Auth_SASL', false, 'has', 'pkg', true); -if ($_SERVER['argv'][1] == 'commit') { +if (isset($_GET['make']) || (isset($_SERVER['argv'][1]) && $_SERVER['argv'][1] == 'make')) { $result = $package->writePackageFile(); } else { $result = $package->debugPackageFile();

« previous php.pear.cvs (#17299) next »