From b46e7d76b40395ddf68b6c71408555884f520b02 Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Sun, 7 Oct 2001 20:14:11 +0000 Subject: [PATCH] use the new System class for common file opperations --- pear/PEAR/Common.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php index 24fb4dfadf..e78f98a71e 100644 --- a/pear/PEAR/Common.php +++ b/pear/PEAR/Common.php @@ -22,6 +22,7 @@ require_once 'PEAR.php'; require_once 'Archive/Tar.php'; +require_once 'Experimental/System.php'; /** * TODO: @@ -78,7 +79,7 @@ class PEAR_Common extends PEAR $file = array_shift($this->_tempfiles)) { if (@is_dir($file)) { - system("rm -rf $file"); // XXX FIXME Windows + System::rm("-rf $file"); // XXX FIXME Windows } elseif (file_exists($file)) { unlink($file); } -- 2.50.1