| # | Line 36 | Line 36 | $minFileSize = 33; | |
|---|---|---|
| 36 | # END CONFIGURATION | |
| 37 | ||
| 38 | ||
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | # Used to return whether or not a report data file is empty. | 
| 43 | function isReportEmpty($filename) { | |
| 44 | if (filesize($filename) < minFileSize) { | |
| 45 | return TRUE; | |
| # | Line 43 | Line 47 | function isReportEmpty($filename) { | |
| 47 | return FALSE; | |
| 48 | } | |
| 49 | ||
| 50 | + | |
| 51 | + | # return an array of subdirectories in the current directory. | 
| 52 | function getdirArray($dir='./',$sort='asort') { | |
| 53 | global $dir_file_count; | |
| 54 | if ( is_dir($dir) ) { | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |