public function InstapageCmsPluginServicesModel::isServicesRequest in Instapage plugin 7.3
Same name and namespace in other branches
- 8.3 core/models/InstapageCmsPluginServicesModel.php \InstapageCmsPluginServicesModel::isServicesRequest()
Checks if current request should be processed by a proxy service.
Return value
boolean
File
- core/
models/ InstapageCmsPluginServicesModel.php, line 31
Class
- InstapageCmsPluginServicesModel
- Class responsible for managing the landing pages.
Code
public function isServicesRequest() {
if (strpos($_SERVER['REQUEST_URI'], 'instapage-proxy-services') !== false) {
InstapageCmsPluginHelper::writeDiagnostics($_SERVER['REQUEST_URI'], 'Proxy services URL');
return true;
}
return false;
}