Function __global->force_have_afm_details
Definitions
sources/abstract_file_manager.php
- Make sure that the AFM connection details have been posted. If not, get them and loop back.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $writable_paths | array | No | No | [] | N/A | N/A | A list of file or directory paths to check first for writability. Only works for suEXEC-style. Advisable because we don't want to fail in the middle of something. May be glob style, or end in '/*' for recursion. |
Preview
Code (PHP)
/**
* Make sure that the AFM connection details have been posted. If not, get them and loop back.
*
* @param array $writable_paths A list of file or directory paths to check first for writability. Only works for suEXEC-style. Advisable because we don't want to fail in the middle of something. May be glob style, or end in '/*' for recursion.
*/
function force_have_afm_details(array $writable_paths = [])
* Make sure that the AFM connection details have been posted. If not, get them and loop back.
*
* @param array $writable_paths A list of file or directory paths to check first for writability. Only works for suEXEC-style. Advisable because we don't want to fail in the middle of something. May be glob style, or end in '/*' for recursion.
*/
function force_have_afm_details(array $writable_paths = [])

