} |
|
$query->cache($cacheKey, $cacheConfig); |
|
} |
|
|
|
return $query->firstOrFail(); |
|
} |
|
|
|
/** |
|
* Handles the logic executing of a worker inside a transaction. |
No arguments
|
|
$random_data = $this->Corrections->anyData($id); |
|
|
|
$correction = $this->Corrections->get($id, [ |
|
'contain' => ['People', 'Answers'] |
|
]); |
|
|
|
$answer_add = $this->answers->newEntity(); |
|
|
[ (int) 0 => (int) 2276 ] [ 'contain' => [ (int) 0 => 'People', (int) 1 => 'Answers' ] ]
} |
|
/* @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
return $callable(...array_values($request->getParam('pass'))); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
(int) 2276
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 (isset($request->params['return'])) { |
|
return $response; |
|
} |
|
|
object(App\Controller\CorrectionsController) { autoRender => true name => 'Corrections' helpers => [] request => object(Cake\Http\ServerRequest) { params => [ [maximum depth reached] ] data => [[maximum depth reached]] query => [[maximum depth reached]] cookies => [[maximum depth reached]] url => 'corrections/view/2276' base => '/haiku' webroot => '/haiku/' here => '/haiku/corrections/view/2276' trustProxy => false [protected] _environment => [ [maximum depth reached] ] [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\Network\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => [ [maximum depth reached] ], 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [ 'limit' => (int) 10, 'order' => [ 'point' => 'DESC' ], 'contain' => [ (int) 0 => 'People' ] ] components => [] View => null plugin => null passedArgs => [ (int) 0 => '2276' ] modelClass => 'Corrections' viewClass => null viewVars => [] 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] ] } Auth => object(Cake\Controller\Component\AuthComponent) { '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] ] } Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Cookie => object(Cake\Controller\Component\CookieComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Score => object(App\Controller\Component\ScoreComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Rs => object(App\Controller\Component\RsComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Nondisplay => object(App\Controller\Component\NondisplayComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Postip => object(App\Controller\Component\PostipComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } GoogleReCAPTCHA => object(App\Controller\Component\GoogleReCAPTCHAComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Odai => object(App\Controller\Component\OdaiComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Salon => object(App\Controller\Component\SalonComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } form4 => (int) 4 Corrections => object(App\Model\Table\CorrectionsTable) { 'registryAlias' => 'Corrections', 'table' => 'corrections', 'alias' => 'Corrections', 'entityClass' => 'App\Model\Entity\Correction', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] _responseClass => 'Cake\Http\Response' [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\CorrectionsController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => '\Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_eventList' => null, '_trackEvents' => false, '_generalManager' => '(object) EventManager' } [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 => null [private] people => object(App\Model\Table\PeopleTable) { 'registryAlias' => 'People', 'table' => 'people', 'alias' => 'People', 'entityClass' => 'App\Model\Entity\Person', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [private] answers => object(App\Model\Table\AnswersTable) { 'registryAlias' => 'Answers', 'table' => 'answers', 'alias' => 'Answers', 'entityClass' => 'App\Model\Entity\Answer', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [private] headerTitle => '俳句添削道場(投句と批評)' [private] title => '俳句添削道場(投句と批評)' [private] title2 => '俳句添削道場' [private] description => '俳句の添削を依頼し合うことができます。元の俳句を改稿した句を投稿したり、俳句の感想や批評を送り合うことで、より良い作品作りのための研鑽をし合うことができます。' [private] meta => (int) 1 [private] meta2 => (int) 2 [private] form => (int) 1 [private] form2 => (int) 2 [private] form3 => (int) 3 [private] maintenance => (int) 1 [private] maintenanceText => '現在、メンテナンス中です。しばらく時間が経ってから、もう一度、アクセスしてください。' }
* @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) { params => [ 'controller' => 'Corrections', 'action' => 'view', 'pass' => [ (int) 0 => '2276' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', 'isAjax' => false, '_csrfToken' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e' ] data => [] query => [] cookies => [] url => 'corrections/view/2276' base => '/haiku' webroot => '/haiku/' here => '/haiku/corrections/view/2276' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgafgoDXFFXd0FkaEKdamgAAAWw', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '44.222.129.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.129.73', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'REMOTE_PORT' => '35312', 'REDIRECT_URL' => '/haiku/webroot/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/haiku/corrections/view/2276', 'SCRIPT_NAME' => '/haiku/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/haiku/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/haiku/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711710082.7762, 'REQUEST_TIME' => (int) 1711710082, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [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, 'requested' => false, 'put' => false, 'post' => false, 'delete' => false, 'patch' => 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 => '/haiku' webroot => '/haiku/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/corrections/view/2276' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [ 'csrfToken' => [ 'name' => 'csrfToken', 'value' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e', 'expire' => '0', 'path' => '/haiku/', 'secure' => false, 'httpOnly' => false, 'domain' => '' ] ], '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) { params => [ 'controller' => 'Corrections', 'action' => 'view', 'pass' => [ (int) 0 => '2276' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', 'isAjax' => false, '_csrfToken' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e' ] data => [] query => [] cookies => [] url => 'corrections/view/2276' base => '/haiku' webroot => '/haiku/' here => '/haiku/corrections/view/2276' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgafgoDXFFXd0FkaEKdamgAAAWw', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '44.222.129.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.129.73', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'REMOTE_PORT' => '35312', 'REDIRECT_URL' => '/haiku/webroot/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/haiku/corrections/view/2276', 'SCRIPT_NAME' => '/haiku/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/haiku/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/haiku/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711710082.7762, 'REQUEST_TIME' => (int) 1711710082, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [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, 'requested' => false, 'put' => false, 'post' => false, 'delete' => false, 'patch' => 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 => '/haiku' webroot => '/haiku/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/corrections/view/2276' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [ 'csrfToken' => [ 'name' => 'csrfToken', 'value' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e', 'expire' => '0', 'path' => '/haiku/', 'secure' => false, 'httpOnly' => false, 'domain' => '' ] ], 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$response->getHeaders() |
|
); |
|
} |
|
|
|
return $next($request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\ServerRequest) { params => [ 'controller' => 'Corrections', 'action' => 'view', 'pass' => [ (int) 0 => '2276' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', 'isAjax' => false, '_csrfToken' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e' ] data => [] query => [] cookies => [] url => 'corrections/view/2276' base => '/haiku' webroot => '/haiku/' here => '/haiku/corrections/view/2276' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgafgoDXFFXd0FkaEKdamgAAAWw', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '44.222.129.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.129.73', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'REMOTE_PORT' => '35312', 'REDIRECT_URL' => '/haiku/webroot/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/haiku/corrections/view/2276', 'SCRIPT_NAME' => '/haiku/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/haiku/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/haiku/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711710082.7762, 'REQUEST_TIME' => (int) 1711710082, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [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, 'requested' => false, 'put' => false, 'post' => false, 'delete' => false, 'patch' => 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 => '/haiku' webroot => '/haiku/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/corrections/view/2276' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [ 'csrfToken' => [ 'name' => 'csrfToken', 'value' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e', 'expire' => '0', 'path' => '/haiku/', 'secure' => false, 'httpOnly' => false, 'domain' => '' ] ], '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) { params => [ 'controller' => 'Corrections', 'action' => 'view', 'pass' => [ (int) 0 => '2276' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', 'isAjax' => false, '_csrfToken' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e' ] data => [] query => [] cookies => [] url => 'corrections/view/2276' base => '/haiku' webroot => '/haiku/' here => '/haiku/corrections/view/2276' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgafgoDXFFXd0FkaEKdamgAAAWw', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '44.222.129.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.129.73', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'REMOTE_PORT' => '35312', 'REDIRECT_URL' => '/haiku/webroot/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/haiku/corrections/view/2276', 'SCRIPT_NAME' => '/haiku/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/haiku/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/haiku/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711710082.7762, 'REQUEST_TIME' => (int) 1711710082, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [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, 'requested' => false, 'put' => false, 'post' => false, 'delete' => false, 'patch' => 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 => '/haiku' webroot => '/haiku/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/corrections/view/2276' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [ 'csrfToken' => [ 'name' => 'csrfToken', 'value' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e', 'expire' => '0', 'path' => '/haiku/', 'secure' => false, 'httpOnly' => false, 'domain' => '' ] ], 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [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); |
|
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !file_exists($assetFile)) { |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'corrections/view/2276' base => '/haiku' webroot => '/haiku/' here => '/haiku/corrections/view/2276' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgafgoDXFFXd0FkaEKdamgAAAWw', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '44.222.129.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.129.73', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'REMOTE_PORT' => '35312', 'REDIRECT_URL' => '/haiku/webroot/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/haiku/corrections/view/2276', 'SCRIPT_NAME' => '/haiku/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/haiku/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/haiku/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711710082.7762, 'REQUEST_TIME' => (int) 1711710082, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/haiku' webroot => '/haiku/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/corrections/view/2276' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [ 'csrfToken' => [ 'name' => 'csrfToken', 'value' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e', 'expire' => '0', 'path' => '/haiku/', 'secure' => false, 'httpOnly' => false, 'domain' => '' ] ], '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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'corrections/view/2276' base => '/haiku' webroot => '/haiku/' here => '/haiku/corrections/view/2276' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgafgoDXFFXd0FkaEKdamgAAAWw', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '44.222.129.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.129.73', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'REMOTE_PORT' => '35312', 'REDIRECT_URL' => '/haiku/webroot/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/haiku/corrections/view/2276', 'SCRIPT_NAME' => '/haiku/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/haiku/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/haiku/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711710082.7762, 'REQUEST_TIME' => (int) 1711710082, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/haiku' webroot => '/haiku/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/corrections/view/2276' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [ 'csrfToken' => [ 'name' => 'csrfToken', 'value' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e', 'expire' => '0', 'path' => '/haiku/', 'secure' => false, 'httpOnly' => false, 'domain' => '' ] ], 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [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 (\Exception $e) { |
|
return $this->handleException($e, $request, $response); |
|
} |
|
} |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'corrections/view/2276' base => '/haiku' webroot => '/haiku/' here => '/haiku/corrections/view/2276' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgafgoDXFFXd0FkaEKdamgAAAWw', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '44.222.129.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.129.73', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'REMOTE_PORT' => '35312', 'REDIRECT_URL' => '/haiku/webroot/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/haiku/corrections/view/2276', 'SCRIPT_NAME' => '/haiku/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/haiku/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/haiku/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711710082.7762, 'REQUEST_TIME' => (int) 1711710082, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/haiku' webroot => '/haiku/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/corrections/view/2276' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [ 'csrfToken' => [ 'name' => 'csrfToken', 'value' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e', 'expire' => '0', 'path' => '/haiku/', 'secure' => false, 'httpOnly' => false, 'domain' => '' ] ], '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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'corrections/view/2276' base => '/haiku' webroot => '/haiku/' here => '/haiku/corrections/view/2276' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgafgoDXFFXd0FkaEKdamgAAAWw', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '44.222.129.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.129.73', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'REMOTE_PORT' => '35312', 'REDIRECT_URL' => '/haiku/webroot/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/haiku/corrections/view/2276', 'SCRIPT_NAME' => '/haiku/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/haiku/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/haiku/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711710082.7762, 'REQUEST_TIME' => (int) 1711710082, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/haiku' webroot => '/haiku/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/corrections/view/2276' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [ 'csrfToken' => [ 'name' => 'csrfToken', 'value' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e', 'expire' => '0', 'path' => '/haiku/', 'secure' => false, 'httpOnly' => false, 'domain' => '' ] ], 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [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) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'corrections/view/2276' base => '/haiku' webroot => '/haiku/' here => '/haiku/corrections/view/2276' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgafgoDXFFXd0FkaEKdamgAAAWw', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '44.222.129.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.129.73', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'REMOTE_PORT' => '35312', 'REDIRECT_URL' => '/haiku/webroot/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/haiku/corrections/view/2276', 'SCRIPT_NAME' => '/haiku/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/haiku/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/haiku/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711710082.7762, 'REQUEST_TIME' => (int) 1711710082, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/haiku' webroot => '/haiku/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/corrections/view/2276' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [ 'csrfToken' => [ 'name' => 'csrfToken', 'value' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e', 'expire' => '0', 'path' => '/haiku/', 'secure' => false, 'httpOnly' => false, 'domain' => '' ] ], 'cacheDirectives' => [], 'body' => '' }
throw new RuntimeException('The application `middleware` method did not return a middleware queue.'); |
|
} |
|
$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 => 'Cake\Routing\Middleware\RoutingMiddleware', (int) 3 => 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(App\Application) {} ] } object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'corrections/view/2276' base => '/haiku' webroot => '/haiku/' here => '/haiku/corrections/view/2276' trustProxy => false [protected] _environment => [ 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'REDIRECT_HANDLER' => 'php7.1-script', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgafgoDXFFXd0FkaEKdamgAAAWw', 'NSS_SDB_USE_CACHE' => 'YES', 'HTTPS' => 'on', 'HTTP_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_HOST' => 'weblike-tennsaku.ssl-lolipop.jp', 'HTTP_X_FORWARDED_FOR' => '44.222.129.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'weblike-tennsaku.ssl-lolipop.jp', 'SERVER_ADDR' => '172.19.45.225', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.222.129.73', 'DOCUMENT_ROOT' => '/home/users/2/weblike.jp-tennsaku/web', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '/lolipop-ext-bin/', 'CONTEXT_DOCUMENT_ROOT' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/', 'SERVER_ADMIN' => 'https://lolipop.jp/support/', 'SCRIPT_FILENAME' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'REMOTE_PORT' => '35312', 'REDIRECT_URL' => '/haiku/webroot/index.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/haiku/corrections/view/2276', 'SCRIPT_NAME' => '/haiku/webroot/index.php', 'ORIG_SCRIPT_FILENAME' => '/home/users/php-bin/weblike.jp-tennsaku/tennsaku.weblike.jp/php7.1/php7.1.cgi', 'ORIG_PATH_INFO' => '/haiku/webroot/index.php', 'ORIG_PATH_TRANSLATED' => '/home/users/2/weblike.jp-tennsaku/web/haiku/webroot/index.php', 'ORIG_SCRIPT_NAME' => '/lolipop-ext-bin/php7.1/php7.1.cgi', 'PHP_SELF' => '/haiku/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711710082.7762, 'REQUEST_TIME' => (int) 1711710082, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [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 => '/haiku' webroot => '/haiku/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'weblike-tennsaku.ssl-lolipop.jp' [private] port => null [private] path => '/corrections/view/2276' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => [ 'csrfToken' => [ 'name' => 'csrfToken', 'value' => 'e360becc5016ac39010c16688f36090f0edbab411dbc41d5bd4eb56e72531c7b9e0f58fb6e9ffecb044b31c91d2654b76da40f5ee0aa289fcdbc29753aa3813e', 'expire' => '0', 'path' => '/haiku/', 'secure' => false, 'httpOnly' => false, 'domain' => '' ] ], 'cacheDirectives' => [], 'body' => '' }
$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