Mercurial > dbtool
changeset 3:e080164332bf tip
saving work
author | Eris Caffee <discordia@eldalin.com> |
---|---|
date | Fri, 14 Oct 2011 10:50:58 -0500 |
parents | 2a9d07f0f275 |
children | |
files | dump.php notes |
diffstat | 2 files changed, 15 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/dump.php Fri Sep 30 00:12:23 2011 -0500 1.2 +++ b/dump.php Fri Oct 14 10:50:58 2011 -0500 1.3 @@ -253,6 +253,17 @@ 1.4 } 1.5 1.6 //////////////////////////////////////////////////////////////////////////////// 1.7 +// File finder 1.8 +//////////////////////////////////////////////////////////////////////////////// 1.9 +class Finder 1.10 + { 1.11 + private $filelist = array();; 1.12 + private $regexlist = array(); 1.13 + private $topdir = ''; 1.14 + private $maxdepth = PHP_INT_MAX; 1.15 + } 1.16 + 1.17 +//////////////////////////////////////////////////////////////////////////////// 1.18 // Miscellaneous functions 1.19 //////////////////////////////////////////////////////////////////////////////// 1.20 function find_files(&$filelist, $regex, $dir='.', $maxdepth=PHP_INT_MAX)