Function Hook_health_check_security->getBaseDirectoriesFiles
Definitions
sources/hooks/systems/health_checks/security.php
- Find files in base-like directories.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$file_extensions | ?array | [ "php" ] | N/A | N/A | File extensions to limit to (no dots), if $files_wanted set (null: no limit) |
$files_wanted | boolean | True | N/A | N/A | Whether to get files (if not, will return directories instead of files) |
Return
- List of file paths relative to real base directory
- Type: array
- Set: N/A
- Range: N/A