2-step rmdir: removes a path by first renaming it and then removing it
Unlike wireRmdir (function), this one renames the directory first so that they can't be displayed by Apache or written by PW while in the process of being removed.
Usage
$bool = $proCacheFiles->rmdir2(string $path, bool $recursive);
Arguments
Name | Type(s) | Description |
---|---|---|
path | string | |
recursive | bool |
Return value
bool
ProCacheFiles methods and properties
API reference based on ProcessWire core version 3.0.236