$defaultLayout = $this->layout; |
|
$this->layout = $layout; |
|
} |
|
|
|
$viewFileName = $view !== false ? $this->_getViewFileName($view) : null; |
|
if ($viewFileName) { |
|
$this->_currentType = static::TYPE_TEMPLATE; |
|
$this->dispatchEvent('View.beforeRender', [$viewFileName]); |
|
$this->Blocks->set('content', $this->_render($viewFileName)); |
'Sites/index'
$builder->setTemplate($this->request->getParam('action')); |
|
} |
|
|
|
$this->View = $this->createView(); |
|
$contents = $this->View->render($view, $layout); |
|
$this->response = $this->View->response->withStringBody($contents); |
|
|
|
return $this->response; |
|
} |
null null
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
|
if (!$response && $controller->isAutoRenderEnabled()) { |
|
$controller->render(); |
|
} |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof Response) { |
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\SitesController) { helpers => [] request => object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ [maximum depth reached] ] [protected] data => [[maximum depth reached]] [protected] query => [[maximum depth reached]] [protected] cookies => [[maximum depth reached]] [protected] _environment => [ [maximum depth reached] ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [] components => [] View => object(App\View\AppView) { Blocks => object(Cake\View\ViewBlock) {} plugin => null name => 'Sites' passedArgs => [ [maximum depth reached] ] helpers => [[maximum depth reached]] templatePath => 'Sites' template => 'index' layout => 'default' layoutPath => null autoLayout => true subDir => null theme => null hasRendered => false uuids => [[maximum depth reached]] request => object(Cake\Http\ServerRequest) {} response => object(Cake\Http\Response) {} elementCache => 'default' viewClass => null viewVars => [ [maximum depth reached] ] Image => object(Burzum\FileStorage\View\Helper\ImageHelper) {} MinifyHtml => object(WyriHaximus\MinifyHtml\View\Helper\MinifyHtmlHelper) {} [protected] _helpers => object(Cake\View\HelperRegistry) {} [protected] _ext => '.ctp' [protected] _passedVars => [ [maximum depth reached] ] [protected] _paths => [ [maximum depth reached] ] [protected] _pathsForPlugin => [[maximum depth reached]] [protected] _parents => [[maximum depth reached]] [protected] _current => null [protected] _currentType => '' [protected] _stack => [[maximum depth reached]] [protected] _viewBlockClass => 'Cake\View\ViewBlock' [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' [protected] _viewBuilder => null } passedArgs => [ (int) 0 => 'turbiny', (int) 1 => 'files', (int) 2 => 'hurricane-speci.doc' ] modelClass => 'Sites' viewClass => null viewVars => [ 'is_retina' => false, 'recommended_sites' => [], 'menu_sites' => [ (int) 0 => object(App\Model\Entity\Site) {}, (int) 1 => object(App\Model\Entity\Site) {}, (int) 2 => object(App\Model\Entity\Site) {}, (int) 3 => object(App\Model\Entity\Site) {}, (int) 4 => object(App\Model\Entity\Site) {} ], 'sites_object' => object(App\Model\Table\SitesTable) {}, 'lister_price' => (int) 0, 'lister_counter' => (int) 0, 'base_seometatags' => null, 'base_seokeywords' => '', 'base_seodescription' => '', 'base_seotitle' => 'Klimatizácie, konzoly a príslušenstvo | Otrade.sk', 'options' => object(App\Model\Entity\Option) {}, 'language' => object(App\Model\Entity\Language) {}, 'languages' => [ (int) 0 => object(App\Model\Entity\Language) {} ], 'webpage' => object(App\Model\Entity\Webpage) {}, 'debugger' => true, 'is_https' => true, 'url' => 'turbiny', 'sites' => object(App\Model\Table\SitesTable) {} ] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Security => object(Cake\Controller\Component\SecurityComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Csrf => object(Cake\Controller\Component\CsrfComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Auth => object(Cake\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Webpages => object(App\Model\Table\WebpagesTable) { 'registryAlias' => 'Webpages', 'table' => 'webpages', 'alias' => 'Webpages', 'entityClass' => 'App\Model\Entity\Webpage', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Languages => object(App\Model\Table\LanguagesTable) { 'registryAlias' => 'Languages', 'table' => 'languages', 'alias' => 'Languages', 'entityClass' => 'App\Model\Entity\Language', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Sites => object(App\Model\Table\SitesTable) { 'registryAlias' => 'Sites', 'table' => 'sites', 'alias' => 'Sites', 'entityClass' => 'App\Model\Entity\Site', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } News => object(App\Model\Table\NewsTable) { 'registryAlias' => 'News', 'table' => 'news', 'alias' => 'News', 'entityClass' => 'App\Model\Entity\News', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Galleries => object(App\Model\Table\GalleriesTable) { 'registryAlias' => 'Galleries', 'table' => 'galleries', 'alias' => 'Galleries', 'entityClass' => 'App\Model\Entity\Gallery', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } CatalogPages => object(App\Model\Table\CatalogPagesTable) { 'registryAlias' => 'CatalogPages', 'table' => 'catalog_pages', 'alias' => 'CatalogPages', 'entityClass' => 'App\Model\Entity\CatalogPage', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Options => object(App\Model\Table\OptionsTable) { 'registryAlias' => 'Options', 'table' => 'options', 'alias' => 'Options', 'entityClass' => 'App\Model\Entity\Option', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Sites' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => false [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\SitesController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) { [protected] _templatePath => 'Sites' [protected] _template => 'index' [protected] _plugin => null [protected] _theme => null [protected] _layout => 'default' [protected] _autoLayout => null [protected] _layoutPath => null [protected] _name => 'Sites' [protected] _className => null [protected] _options => [ [maximum depth reached] ] [protected] _helpers => [[maximum depth reached]] } }
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'url' => 'turbiny', 'sub_url' => 'files', 'tre_url' => 'hurricane-speci.doc', 'pass' => [ (int) 0 => 'turbiny', (int) 1 => 'files', (int) 2 => 'hurricane-speci.doc' ], 'admin' => false, 'controller' => 'Sites', 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:url/:sub_url/:tre_url', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ssl' => true, 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'url' => 'turbiny', 'sub_url' => 'files', 'tre_url' => 'hurricane-speci.doc', 'pass' => [ (int) 0 => 'turbiny', (int) 1 => 'files', (int) 2 => 'hurricane-speci.doc' ], 'admin' => false, 'controller' => 'Sites', 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:url/:sub_url/:tre_url', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ssl' => true, 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $next($request, $response); |
|
} |
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'url' => 'turbiny', 'sub_url' => 'files', 'tre_url' => 'hurricane-speci.doc', 'pass' => [ (int) 0 => 'turbiny', (int) 1 => 'files', (int) 2 => 'hurricane-speci.doc' ], 'admin' => false, 'controller' => 'Sites', 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:url/:sub_url/:tre_url', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ssl' => true, 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'url' => 'turbiny', 'sub_url' => 'files', 'tre_url' => 'hurricane-speci.doc', 'pass' => [ (int) 0 => 'turbiny', (int) 1 => 'files', (int) 2 => 'hurricane-speci.doc' ], 'admin' => false, 'controller' => 'Sites', 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/:url/:sub_url/:tre_url', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ssl' => true, 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !file_exists($assetFile)) { |
|
return $next($request, $response); |
|
} |
|
|
|
$file = new File($assetFile); |
|
$modifiedTime = $file->lastChange(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$this->service->loadPanels(); |
|
$this->service->initializePanels(); |
|
$response = $next($request, $response); |
|
$row = $this->service->saveData($request, $response); |
|
if (!$row) { |
|
return $response; |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) {}, (int) 1 => 'Cake\Error\Middleware\ErrorHandlerMiddleware', (int) 2 => 'Cake\Routing\Middleware\AssetMiddleware', (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 4 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) {}, (int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 4 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_REDIRECT_filter-errordocs' => '', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_GEOIP_COUNTRY_CODE' => 'US', 'REDIRECT_UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'REDIRECT_DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REDIRECT_filter-errordocs' => '', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'GEOIP_COUNTRY_CODE' => 'US', 'UNIQUE_ID' => 'ZgbBLCyl9pX3-ezTPRFHRAAAAAI', 'DOCROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'filter-errordocs' => '', 'HTTP_HOST' => 'www.otrade.sk', 'HTTP_X_REAL_IP' => '44.222.125.114', 'HTTP_X_FORWARDED_FOR' => '44.222.125.114, 44.222.125.114', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HTTPS' => '1', 'HTTP_X_PROXY_IP' => '10.20.7.1', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://otrade.sk/turbiny/files/hurricane-speci.doc', 'HTTP_WS_GEO_COUNTRY' => 'US', 'HTTP_MAX_FORWARDS' => '7', 'HTTP_X_FORWARDED_HOST' => 'www.otrade.sk', 'HTTP_X_FORWARDED_SERVER' => 'www.otrade.sk', 'HTTP_CONNECTION' => 'close', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.otrade.sk', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.125.114', 'DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/', 'SERVER_ADMIN' => 'admin@websupport.sk', 'SCRIPT_FILENAME' => '/data/3/d/3d82b6c4-da56-4fc7-a9d1-fdea5a5ae979/otrade.sk/web/webroot/index.php', 'REMOTE_PORT' => '51552', 'REDIRECT_URL' => '/webroot/turbiny/files/hurricane-speci.doc', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/turbiny/files/hurricane-speci.doc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711718700.95, 'REQUEST_TIME' => (int) 1711718700, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'turbiny/files/hurricane-speci.doc' [protected] base => '' [protected] webroot => '/' [protected] here => '/turbiny/files/hurricane-speci.doc' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.otrade.sk' [private] port => null [private] path => '/turbiny/files/hurricane-speci.doc' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 21600 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
If you want to customize this error message, create src/Template/Error/error500.ctp