mirror of
https://github.com/silverstripe/silverstripe-externallinks.git
synced 2024-10-22 15:05:44 +00:00
Added config annotations to CurlLinkChecker
This commit is contained in:
parent
0354be75d8
commit
9e9946ef64
@ -5,6 +5,24 @@
|
||||
*/
|
||||
class CurlLinkChecker implements LinkChecker {
|
||||
|
||||
/**
|
||||
* If we want to follow redirects a 301 http code for example
|
||||
* Set via YAML file
|
||||
*
|
||||
* @config
|
||||
* @var boolean
|
||||
*/
|
||||
private static $FollowLocation = false;
|
||||
|
||||
/**
|
||||
* If we want to bypass the cache
|
||||
* Set via YAML file
|
||||
*
|
||||
* @config
|
||||
* @var boolean
|
||||
*/
|
||||
private static $BypassCache = false;
|
||||
|
||||
/**
|
||||
* Return cache
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user