ProCacheHtaccess::getExampleHtaccessFile()

Get path/filename of example .htaccess file

Usage

// basic usage
$string = $proCacheHtaccess->getExampleHtaccessFile();

// usage with all arguments
$string = $proCacheHtaccess->getExampleHtaccessFile(bool $getUrl = false);

Arguments

NameType(s)Description
$getUrl (optional)bool

Get URL rather than disk path?

Return value

string

Exceptions

Method can throw exceptions on error:

  • WireException


ProCacheHtaccess methods and properties

API reference based on ProcessWire core version 3.0.251