Return old htaccess version (v1) which is still considered valid
This is used only for comparison purposes so that we don't advise them to change something unnecessarily.
Usage
// basic usage
$string = $proCacheHtaccess->getHtaccessRulesV1();
// usage with all arguments
$string = $proCacheHtaccess->getHtaccessRulesV1(bool $getVersion = false);
Arguments
Name | Type(s) | Description |
---|---|---|
getVersion (optional) | bool | Get version rather than rules? |
Return value
string
ProCacheHtaccess methods and properties
API reference based on ProcessWire core version 3.0.244