ProCacheHtaccess::htaccess method
Get path/filename of example .htaccess file
Usage
// basic usage
$string = $procache->htaccess->getExampleHtaccessFile();
// usage with all arguments
$string = $procache->htaccess->getExampleHtaccessFile(bool $getUrl = false);Arguments
| Name | Type(s) | Description |
|---|---|---|
$getUrl (optional) | bool | Get URL rather than disk path? |
Return value
string
Exceptions
Method can throw exceptions on error:
WireException
$procache->htaccess methods and properties
API reference based on ProcessWire core version 3.0.252