cvs: php4 /pear/PEAR Common.php

From: Date: Sun, 07 Oct 2001 20:14:12 +0000
Subject: cvs: php4 /pear/PEAR Common.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-951@lists.php.net to get a copy of this message
cox Sun Oct 7 16:14:12 2001 EDT Modified files: /php4/pear/PEAR Common.php Log: use the new System class for common file opperations Index: php4/pear/PEAR/Common.php diff -u php4/pear/PEAR/Common.php:1.13 php4/pear/PEAR/Common.php:1.14 --- php4/pear/PEAR/Common.php:1.13 Fri Sep 28 20:38:24 2001 +++ php4/pear/PEAR/Common.php Sun Oct 7 16:14:11 2001 @@ -18,10 +18,11 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Common.php,v 1.13 2001/09/29 00:38:24 cox Exp $ +// $Id: Common.php,v 1.14 2001/10/07 20:14:11 cox Exp $ require_once 'PEAR.php'; require_once 'Archive/Tar.php'; +require_once 'Experimental/System.php'; /** * TODO: @@ -78,7 +79,7 @@ $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); }

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