app/code/community/Nexcessnet/Turpentine/Model/Varnish/Configurator/Version2.php 1 location
|
@@ 42-48 (lines=7) @@
|
| 39 |
|
return $doClean ? $this->_cleanVcl($vcl) : $vcl; |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
protected function _getAdvancedSessionValidation() { |
| 43 |
|
$validation = ''; |
| 44 |
|
foreach ($this->_getAdvancedSessionValidationTargets() as $target) { |
| 45 |
|
$validation .= sprintf('set req.hash += %s;'.PHP_EOL, $target); |
| 46 |
|
} |
| 47 |
|
return $validation; |
| 48 |
|
} |
| 49 |
|
|
| 50 |
|
/** |
| 51 |
|
* Build the list of template variables to apply to the VCL template |
app/code/community/Nexcessnet/Turpentine/Model/Varnish/Configurator/Version3.php 1 location
|
@@ 48-54 (lines=7) @@
|
| 45 |
|
return $doClean ? $this->_cleanVcl($vcl) : $vcl; |
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
protected function _getAdvancedSessionValidation() { |
| 49 |
|
$validation = ''; |
| 50 |
|
foreach ($this->_getAdvancedSessionValidationTargets() as $target) { |
| 51 |
|
$validation .= sprintf('hash_data(%s);'.PHP_EOL, $target); |
| 52 |
|
} |
| 53 |
|
return $validation; |
| 54 |
|
} |
| 55 |
|
|
| 56 |
|
/** |
| 57 |
|
* Build the list of template variables to apply to the VCL template |
app/code/community/Nexcessnet/Turpentine/Model/Varnish/Configurator/Version4.php 1 location
|
@@ 49-55 (lines=7) @@
|
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
// TODO: Check this |
| 49 |
|
protected function _getAdvancedSessionValidation() { |
| 50 |
|
$validation = ''; |
| 51 |
|
foreach ($this->_getAdvancedSessionValidationTargets() as $target) { |
| 52 |
|
$validation .= sprintf('hash_data(%s);'.PHP_EOL, $target); |
| 53 |
|
} |
| 54 |
|
return $validation; |
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
/** |
| 58 |
|
* Build the list of template variables to apply to the VCL template |