ProCacheHtaccess::htaccess method

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 = $procache->htaccess->getHtaccessRulesV1();

// usage with all arguments
$string = $procache->htaccess->getHtaccessRulesV1(bool $getVersion = false);

Arguments

NameType(s)Description
$getVersion (optional)bool

Get version rather than rules?

Return value

string


$procache->htaccess methods and properties

API reference based on ProcessWire core version 3.0.252