cvs: php4 /pear/Experimental System.php

From: Date: Sun, 07 Oct 2001 20:13:19 +0000
Subject: cvs: php4 /pear/Experimental System.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-950@lists.php.net to get a copy of this message
cox Sun Oct 7 16:13:19 2001 EDT Modified files: /php4/pear/Experimental System.php Log: list deepest dirs first Index: php4/pear/Experimental/System.php diff -u php4/pear/Experimental/System.php:1.1 php4/pear/Experimental/System.php:1.2 --- php4/pear/Experimental/System.php:1.1 Sun Oct 7 12:06:55 2001 +++ php4/pear/Experimental/System.php Sun Oct 7 16:13:19 2001 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: System.php,v 1.1 2001/10/07 16:06:55 cox Exp $ +// $Id: System.php,v 1.2 2001/10/07 20:13:19 cox Exp $ // // TODO: @@ -86,7 +86,7 @@ if (is_dir($path)) { if ($aktinst < $maxinst || $maxinst == 0) { $tmp = System::_dirToStruct($path, $maxinst, $aktinst+1); - $struct = array_merge_recursive($struct, $tmp); + $struct = array_merge_recursive($tmp, $struct); } } else { $struct['files'][] = $path; @@ -107,7 +107,7 @@ foreach($files as $file) { if (is_dir($file)) { $tmp = System::_dirToStruct($file, 0); - $struct = array_merge_recursive($struct, $tmp); + $struct = array_merge_recursive($tmp, $struct); } else { $struct['files'][] = $file; }

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