diff --git a/app/Library/Http/Request.php b/app/Library/Http/Request.php index d88e43ef2536c8a957219b2e4548e5bdbb9004cc..04a1aeed6e900067f1ef740831ad8a68e3126900 100644 --- a/app/Library/Http/Request.php +++ b/app/Library/Http/Request.php @@ -30,6 +30,10 @@ class Request extends \Phalcon\Http\Request { $url = $this->get('_url'); + if ($this->hasHeader('X-Platform')) { + return true; + } + if (stripos($url, '/api') !== false) { return true; }