cvs: pear-core /PEAR Start.php
| From: | Greg Beaver | Date: | Thu, 18 Aug 2005 11:20:25 +0000 |
| Subject: | cvs: pear-core /PEAR Start.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-3632@lists.php.net to get a copy of this message | ||
cellog Thu Aug 18 07:20:25 2005 EDT
Modified files:
/pear-core/PEAR Start.php
Log:
fix php_bin setting
# this needs to be more configurable
http://cvs.php.net/diff.php/pear-core/PEAR/Start.php?r1=1.3&r2=1.4&ty=u
Index: pear-core/PEAR/Start.php
diff -u pear-core/PEAR/Start.php:1.3 pear-core/PEAR/Start.php:1.4
--- pear-core/PEAR/Start.php:1.3 Sat Aug 13 18:28:00 2005
+++ pear-core/PEAR/Start.php Thu Aug 18 07:20:22 2005
@@ -253,6 +253,12 @@
function doInstall()
{
print "Beginning install...\n";
+ // finish php_bin config
+ if (OS_WINDOWS) {
+ $this->php_bin .= '\\php.exe';
+ } else {
+ $this->php_bin .= '/php';
+ }
$this->PEARConfig = &PEAR_Config::singleton($this->pear_conf,
$this->pear_conf);
$this->PEARConfig->set('preferred_state', 'stable');
foreach ($this->config as $var) {