throw new RuntimeException('Unable to locate an object compatible with paginate.'); |
|
} |
|
$settings += $this->paginate; |
|
|
|
return $this->Paginator->paginate($table, $settings); |
|
} |
|
|
|
/** |
|
* Method to check that an action is accessible from a URL. |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ArticleNews.id AS `ArticleNews__id`, ArticleNews.title AS `ArticleNews__title`, ArticleNews.body AS `ArticleNews__body`, ArticleNews.release_date AS `ArticleNews__release_date`, ArticleNews.regist_datetime AS `ArticleNews__regist_datetime`, ArticleNews.lastup_datetime AS `ArticleNews__lastup_datetime`, ArticleNews.disable AS `ArticleNews__disable` FROM article_news ArticleNews WHERE disable = :c0 ORDER BY release_date DESC LIMIT 10 OFFSET 20', 'params' => [ ':c0' => [ 'value' => '0', 'type' => 'boolean', 'placeholder' => 'c0' ] ], 'defaultTypes' => [ 'ArticleNews__id' => 'integer', 'ArticleNews.id' => 'integer', 'id' => 'integer', 'ArticleNews__title' => 'string', 'ArticleNews.title' => 'string', 'title' => 'string', 'ArticleNews__body' => 'text', 'ArticleNews.body' => 'text', 'body' => 'text', 'ArticleNews__release_date' => 'date', 'ArticleNews.release_date' => 'date', 'release_date' => 'date', 'ArticleNews__regist_datetime' => 'datetime', 'ArticleNews.regist_datetime' => 'datetime', 'regist_datetime' => 'datetime', 'ArticleNews__lastup_datetime' => 'datetime', 'ArticleNews.lastup_datetime' => 'datetime', 'lastup_datetime' => 'datetime', 'ArticleNews__disable' => 'boolean', 'ArticleNews.disable' => 'boolean', 'disable' => 'boolean' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'sort' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(App\Model\Table\ArticleNewsTable) { 'registryAlias' => 'ArticleNews', 'table' => 'article_news', 'alias' => 'ArticleNews', 'entityClass' => 'App\Model\Entity\ArticleNews', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } } [ 'maxLimit' => (int) 10 ]
$this->loadModel('ArticleNews'); |
|
$articleNews = $this->ArticleNews->find() |
|
->where( ['disable' => '0']) |
|
->order(['release_date' => 'DESC']); |
|
$this->set('articleNews', $this->paginate($articleNews)); |
|
} |
|
public function topicslist(){ |
|
$this->loadModel('ArticleTopics'); |
|
$articleTopics = $this->ArticleTopics->find() |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ArticleNews.id AS `ArticleNews__id`, ArticleNews.title AS `ArticleNews__title`, ArticleNews.body AS `ArticleNews__body`, ArticleNews.release_date AS `ArticleNews__release_date`, ArticleNews.regist_datetime AS `ArticleNews__regist_datetime`, ArticleNews.lastup_datetime AS `ArticleNews__lastup_datetime`, ArticleNews.disable AS `ArticleNews__disable` FROM article_news ArticleNews WHERE disable = :c0 ORDER BY release_date DESC LIMIT 10 OFFSET 20', 'params' => [ ':c0' => [ 'value' => '0', 'type' => 'boolean', 'placeholder' => 'c0' ] ], 'defaultTypes' => [ 'ArticleNews__id' => 'integer', 'ArticleNews.id' => 'integer', 'id' => 'integer', 'ArticleNews__title' => 'string', 'ArticleNews.title' => 'string', 'title' => 'string', 'ArticleNews__body' => 'text', 'ArticleNews.body' => 'text', 'body' => 'text', 'ArticleNews__release_date' => 'date', 'ArticleNews.release_date' => 'date', 'release_date' => 'date', 'ArticleNews__regist_datetime' => 'datetime', 'ArticleNews.regist_datetime' => 'datetime', 'regist_datetime' => 'datetime', 'ArticleNews__lastup_datetime' => 'datetime', 'ArticleNews.lastup_datetime' => 'datetime', 'lastup_datetime' => 'datetime', 'ArticleNews__disable' => 'boolean', 'ArticleNews.disable' => 'boolean', 'disable' => 'boolean' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'sort' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(App\Model\Table\ArticleNewsTable) { 'registryAlias' => 'ArticleNews', 'table' => 'article_news', 'alias' => 'ArticleNews', 'entityClass' => 'App\Model\Entity\ArticleNews', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } }
} |
|
/* @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
return $callable(...array_values($request->getParam('pass'))); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
No arguments
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\UsersController) { paginate => [ 'maxLimit' => (int) 10 ] helpers => [ 'Paginator' => [ 'templates' => 'paginator-templates' ] ] 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 => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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' => '' } components => [] View => null passedArgs => [] modelClass => 'Users' viewClass => null viewVars => [ 'noindexTag' => '', 'jcltDomain' => 'jclt.jp', 'jsltDomain' => 'jslt.site' ] 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] ] } GetPassword => object(App\Controller\Component\GetPasswordComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } SendReturnMail => object(App\Controller\Component\SendReturnMailComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } MemberIdCreate => object(App\Controller\Component\MemberIdCreateComponent) { '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] ] } Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } ArticleNews => object(App\Model\Table\ArticleNewsTable) { 'registryAlias' => 'ArticleNews', 'table' => 'article_news', 'alias' => 'ArticleNews', 'entityClass' => 'App\Model\Entity\ArticleNews', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Users' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\UsersController) {}, '_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 => null [protected] _template => null [protected] _plugin => null [protected] _theme => null [protected] _layout => 'userside' [protected] _autoLayout => true [protected] _layoutPath => null [protected] _name => null [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 => [ 'pass' => [], 'controller' => 'Users', 'action' => 'newslist', 'plugin' => null, '_matchedRoute' => '/newslist', '?' => [ 'page' => '3' ], '_ext' => null, '_csrfToken' => '873aa084edb29b243e811e3ff38e556400c2bcfd3afeb4b096952d0e5ccce00c3017d0ecfb692968dcd5d711928f85ad4501e0d31db7480418207105ca70aa53' ] [protected] data => [] [protected] query => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => [ '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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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 => [ 'pass' => [], 'controller' => 'Users', 'action' => 'newslist', 'plugin' => null, '_matchedRoute' => '/newslist', '?' => [ 'page' => '3' ], '_ext' => null, '_csrfToken' => '873aa084edb29b243e811e3ff38e556400c2bcfd3afeb4b096952d0e5ccce00c3017d0ecfb692968dcd5d711928f85ad4501e0d31db7480418207105ca70aa53' ] [protected] data => [] [protected] query => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => [ '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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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] ] } }
$token = $this->_createToken(); |
|
$request = $this->_addTokenToRequest($token, $request); |
|
$response = $this->_addTokenCookie($token, $request, $response); |
|
|
|
return $next($request, $response); |
|
} |
|
$request = $this->_validateAndUnsetTokenField($request); |
|
|
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'Users', 'action' => 'newslist', 'plugin' => null, '_matchedRoute' => '/newslist', '?' => [ 'page' => '3' ], '_ext' => null, '_csrfToken' => '873aa084edb29b243e811e3ff38e556400c2bcfd3afeb4b096952d0e5ccce00c3017d0ecfb692968dcd5d711928f85ad4501e0d31db7480418207105ca70aa53' ] [protected] data => [] [protected] query => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => [ '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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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 => [ 'pass' => [], 'controller' => 'Users', 'action' => 'newslist', 'plugin' => null, '_matchedRoute' => '/newslist', '?' => [ 'page' => '3' ], '_ext' => null, '_csrfToken' => '873aa084edb29b243e811e3ff38e556400c2bcfd3afeb4b096952d0e5ccce00c3017d0ecfb692968dcd5d711928f85ad4501e0d31db7480418207105ca70aa53' ] [protected] data => [] [protected] query => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => [ '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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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 => [ 'pass' => [], 'controller' => 'Users', 'action' => 'newslist', 'plugin' => null, '_matchedRoute' => '/newslist', '?' => [ 'page' => '3' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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 => [ 'pass' => [], 'controller' => 'Users', 'action' => 'newslist', 'plugin' => null, '_matchedRoute' => '/newslist', '?' => [ 'page' => '3' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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 => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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 => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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 => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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 => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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 => 'Cake\Error\Middleware\ErrorHandlerMiddleware', (int) 1 => 'Cake\Routing\Middleware\AssetMiddleware', (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 4 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (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 => [ 'page' => '3' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'jslt_master', 'HOME' => '/var/www/vhosts/jslt.site', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/newslist?page=3', 'QUERY_STRING' => 'page=3', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/newslist', 'REDIRECT_QUERY_STRING' => 'page=3', 'REMOTE_PORT' => '60664', 'SCRIPT_FILENAME' => '/var/www/vhosts/jslt.site/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/jslt.site/httpdocs', 'REMOTE_ADDR' => '3.227.229.194', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '211.125.67.88', 'SERVER_NAME' => 'jslt.site', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.227.229.194', 'HTTP_HOST' => 'jslt.site', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbVb6x8Jz-ioQOMNGz3FAAAAQo', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711723887.4712, 'REQUEST_TIME' => (int) 1711723887, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'newslist' [protected] base => '' [protected] webroot => '/' [protected] here => '/newslist' [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 => 'jslt.site' [private] port => null [private] path => '/newslist' [private] query => 'page=3' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '2592000' [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/error400.ctp