.pdf)
WHM Plugins
| API Version: | 2 - Click here for documentation |
|---|---|
| Description: | Check to see if a specific directory is empty. |
| Parameters: | |
| dir (string) | |
| The full path to the directory you wish to test. (e.g. /home/user/public_html/subdomain/). | |
| files_only (boolean (optional)) | |
| A value of '1' indicates that the specified directory must contain files (not just directories) to not be counted as empty. | |
| regex_ext (perl regex (optional)) | |
| Regular expressions allow you to filter results based on a set of criteria you define. You may choose to only count files with an extension that matches your regular expressions. | |
| Returns: | |
<data> </data> |