summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas V.V.Cox <cox@php.net>2001-05-15 14:15:09 +0000
committerTomas V.V.Cox <cox@php.net>2001-05-15 14:15:09 +0000
commitea8cd965fe8b33e4f7c06d59565ee36ec1c73381 (patch)
tree03763fd20adf93b61aa4c6b02bfa9ebcbed97380
parent1485283db229264ffd4fb49160af11e411129816 (diff)
downloadphp-git-ea8cd965fe8b33e4f7c06d59565ee36ec1c73381.tar.gz
Put the verbose mode to work again. Some other style.
-rw-r--r--pear/PEAR/Installer.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/pear/PEAR/Installer.php b/pear/PEAR/Installer.php
index 174123fae2..363141d359 100644
--- a/pear/PEAR/Installer.php
+++ b/pear/PEAR/Installer.php
@@ -51,8 +51,8 @@ class PEAR_Installer extends PEAR_Common
*/
var $destdir = '';
- /** debug mode (boolean) */
- var $debug = false;
+ /** debug level (integer) */
+ var $debug = 1;
/** list of installed packages */
var $pkglist = array();
@@ -401,9 +401,10 @@ class PEAR_Installer extends PEAR_Common
if (substr($dir, 0, 1) == "/") {
$this->destdir = substr($dir, 1);
} else {
- $this->destdir = $dir;
- }
+ $this->destdir = $dir;
+ }
break;
+ /* XXXXX Remove me!
if (is_file($d)) {
return $this->raiseError("mkdir $d failed: is a file");
}
@@ -415,7 +416,7 @@ class PEAR_Installer extends PEAR_Common
break;
}
$this->log(1, "created dir $d");
- break;
+ break;*/
case "File":
if (!$this->phpdir) {
break;