Warning (2)
: Undefined array key 0 [in
/home/tokyomotors/public_html/src/Controller/StockController.php, line
126]
Code
->where(['status' => 'seen'])
->where(['make_id' => $cat_arr[0]['id']]);
App\Controller\StockController->make() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php, line 503
Cake\Controller\Controller->invokeAction() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 166
Cake\Controller\ControllerFactory->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 141
Cake\Controller\ControllerFactory->invoke() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 362
Cake\Http\BaseApplication->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 159
Cake\Http\Middleware\CsrfProtectionMiddleware->process() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 118
Cake\Routing\Middleware\RoutingMiddleware->process() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 69
Cake\Routing\Middleware\AssetMiddleware->process() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 115
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 104
Cake\Http\Server->run() /home/tokyomotors/public_html/webroot/index.php, line 37
[main]
Warning (2)
: Trying to access array offset on null [in
/home/tokyomotors/public_html/src/Controller/StockController.php, line
126]
Code
->where(['status' => 'seen'])
->where(['make_id' => $cat_arr[0]['id']]);
App\Controller\StockController->make() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php, line 503
Cake\Controller\Controller->invokeAction() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 166
Cake\Controller\ControllerFactory->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 141
Cake\Controller\ControllerFactory->invoke() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 362
Cake\Http\BaseApplication->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 86
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 159
Cake\Http\Middleware\CsrfProtectionMiddleware->process() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php, line 157
Cake\Http\Middleware\BodyParserMiddleware->process() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 118
Cake\Routing\Middleware\RoutingMiddleware->process() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 69
Cake\Routing\Middleware\AssetMiddleware->process() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 115
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 104
Cake\Http\Server->run() /home/tokyomotors/public_html/webroot/index.php, line 37
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Error/PhpError.php line=66 [in
/home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
65]
Code
$message = "Unable to emit headers. Headers sent in file={$file} line={$line}";
trigger_error($message, E_USER_WARNING);
}
/home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65
Cake\Http\ResponseEmitter->emit() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /home/tokyomotors/public_html/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Error/PhpError.php:66) [in
/home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
159]
Code
$reasonPhrase = $response->getReasonPhrase();
header(sprintf(
'HTTP/%s %d%s',
/home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159
Cake\Http\ResponseEmitter->emitStatusLine() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 68
Cake\Http\ResponseEmitter->emit() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /home/tokyomotors/public_html/webroot/index.php, line 37
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Error/PhpError.php:66) [in
/home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
192]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
/home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter->emitHeaders() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 69
Cake\Http\ResponseEmitter->emit() /home/tokyomotors/public_html/vendor/cakephp/cakephp/src/Http/Server.php, line 148
Cake\Http\Server->emit() /home/tokyomotors/public_html/webroot/index.php, line 37
[main]
CORE/src/Database/Expression/QueryExpression.php at line 748
(edit)
|
$operator = '!=';
|
|
}
|
|
|
|
if ($value === null && $this->_conjunction !== ',') {
|
|
throw new InvalidArgumentException(
|
|
sprintf('Expression `%s` is missing operator (IS, IS NOT) with `null` value.', $expression)
|
|
);
|
|
}
|
|
|
-
|
continue;
|
|
}
|
|
|
|
if (!$numericKey) {
|
|
$this->_conditions[] = $this->_parseCondition($k, $c);
|
|
}
|
|
}
|
|
}
|
|
|
Toggle Arguments
-
|
|
|
return $this;
|
|
}
|
|
|
|
$this->_addConditions($conditions, $types);
|
|
|
|
return $this;
|
|
}
|
|
|
Toggle Arguments
-
|
$append = $append($this->newExpr(), $this);
|
|
}
|
|
|
|
if ($expression->getConjunction() === $conjunction) {
|
|
$expression->add($append, $types);
|
|
} else {
|
|
$expression = $this->newExpr()
|
|
->setConjunction($conjunction)
|
|
->add([$expression, $append], $types);
|
Toggle Arguments
-
|
) {
|
|
if ($overwrite) {
|
|
$this->_parts['where'] = $this->newExpr();
|
|
}
|
|
$this->_conjugate('where', $conditions, 'AND', $types);
|
|
|
|
return $this;
|
|
}
|
|
|
Toggle Arguments
-
|
|
|
$stocks_obj = $this->fetchTable('Car')->find('all')
|
|
->where(['LOWER(location)' => 'harare'])
|
|
->where(['status' => 'seen'])
|
|
->where(['make_id' => $cat_arr[0]['id']]);
|
|
|
|
if ($sorts == 'nasc') {
|
|
$stocks_obj = $stocks_obj->order(['make_model' => 'ASC']);
|
|
}
|
Toggle Arguments
-
|
* @return void
|
|
*/
|
|
public function invokeAction(Closure $action, array $args): void
|
|
{
|
|
$result = $action(...$args);
|
|
if ($result !== null) {
|
|
assert(
|
|
$result instanceof Response,
|
|
sprintf(
|
Toggle Arguments
-
|
$args = $this->getActionArgs(
|
|
$action,
|
|
array_values((array)$controller->getRequest()->getParam('pass'))
|
|
);
|
|
$controller->invokeAction($action, $args);
|
|
|
|
$result = $controller->shutdownProcess();
|
|
if ($result !== null) {
|
|
return $result;
|
Toggle Arguments
[
(int) 0 => '<div class=',
]
-
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this);
|
|
}
|
|
|
|
return $this->handle($controller->getRequest());
|
|
}
|
|
|
|
/**
|
|
* Invoke the action.
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => '<div class=',
],
'controller' => 'Stock',
'action' => 'make',
'mk' => '',
'plugin' => null,
'_matchedRoute' => '/stock/make/mk/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => 'QLbBgJAZDphdizZLZnvRy+dK5X1lc5KLYYsCoQbkP2e1+vFMXnt30wUJYaoWpsSE+KOOeeRQA0OXtQTUG9RupdJ8eFLUviwOgXrdTl0WprkE7WCYZIAPBYeZxHRmS0TkYzkDnSfD8+HLkr1J0mJidQ==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
}
|
|
|
|
$controller = $this->controllerFactory->create($request);
|
|
|
|
return $this->controllerFactory->invoke($controller);
|
|
}
|
|
}
|
|
|
Toggle Arguments
object(App\Controller\StockController) id:0 {
protected name => 'Stock'
protected request => object(Cake\Http\ServerRequest) id:1 {
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 base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\Stream) id:2 {
}
protected uri => object(Laminas\Diactoros\Uri) id:3 {
}
protected session => object(Cake\Http\Session) id:4 {
}
protected flash => object(Cake\Http\FlashMessage) id:5 {
}
protected attributes => [
'' => [maximum depth reached],
]
protected emulatedAttributes => [
'' => [maximum depth reached],
]
protected uploadedFiles => [
'' => [maximum depth reached],
]
protected protocol => null
protected requestTarget => null
}
protected response => object(Cake\Http\Response) id:6 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:7 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected paginate => [
]
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:8 {
'_loaded' => [
]
'_Controller' => object(App\Controller\StockController) id: 0 {}
'container' => object(Cake\Core\Container) id:9 {
}
'_eventManager' => object(Cake\Event\EventManager) id:10 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 10 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Stock'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:11 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => false
protected queryFactory => object(Cake\ORM\Query\QueryFactory) id:12 {
}
protected options => [
'' => [maximum depth reached],
]
}
protected _viewBuilder => object(Cake\View\ViewBuilder) id:13 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => null
protected _layout => 'layoutleft'
protected _autoLayout => true
protected _layoutPath => null
protected _name => null
protected _className => null
protected _options => [
'' => [maximum depth reached],
]
protected _helpers => [
'' => [maximum depth reached],
]
protected _vars => [
'' => [maximum depth reached],
]
}
private mk_left => [
(int) 0 => object(Cake\ORM\Entity) id:14 {
},
(int) 1 => object(Cake\ORM\Entity) id:15 {
},
(int) 2 => object(Cake\ORM\Entity) id:16 {
},
(int) 3 => object(Cake\ORM\Entity) id:17 {
},
(int) 4 => object(Cake\ORM\Entity) id:18 {
},
(int) 5 => object(Cake\ORM\Entity) id:19 {
},
(int) 6 => object(Cake\ORM\Entity) id:20 {
},
]
private br_left => [
(int) 0 => object(Cake\ORM\Entity) id:21 {
},
(int) 1 => object(Cake\ORM\Entity) id:22 {
},
(int) 2 => object(Cake\ORM\Entity) id:23 {
},
(int) 3 => object(Cake\ORM\Entity) id:24 {
},
(int) 4 => object(Cake\ORM\Entity) id:25 {
},
(int) 5 => object(Cake\ORM\Entity) id:26 {
},
(int) 6 => object(Cake\ORM\Entity) id:27 {
},
]
private ca_left => [
(int) 0 => object(Cake\ORM\Entity) id:28 {
},
(int) 1 => object(Cake\ORM\Entity) id:29 {
},
(int) 2 => object(Cake\ORM\Entity) id:30 {
},
(int) 3 => object(Cake\ORM\Entity) id:31 {
},
(int) 4 => object(Cake\ORM\Entity) id:32 {
},
(int) 5 => object(Cake\ORM\Entity) id:33 {
},
(int) 6 => object(Cake\ORM\Entity) id:34 {
},
(int) 7 => object(Cake\ORM\Entity) id:35 {
},
]
}
-
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
|
}
|
|
|
|
return new Response([
|
|
'body' => 'Middleware queue was exhausted without returning a response '
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => '<div class=',
],
'controller' => 'Stock',
'action' => 'make',
'mk' => '',
'plugin' => null,
'_matchedRoute' => '/stock/make/mk/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => 'QLbBgJAZDphdizZLZnvRy+dK5X1lc5KLYYsCoQbkP2e1+vFMXnt30wUJYaoWpsSE+KOOeeRQA0OXtQTUG9RupdJ8eFLUviwOgXrdTl0WprkE7WCYZIAPBYeZxHRmS0TkYzkDnSfD8+HLkr1J0mJidQ==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
|
|
if ($method === 'GET' && $cookieData === null) {
|
|
$token = $this->createToken();
|
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token));
|
|
$response = $handler->handle($request);
|
|
|
|
return $this->_addTokenCookie($token, $request, $response);
|
|
}
|
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => '<div class=',
],
'controller' => 'Stock',
'action' => 'make',
'mk' => '',
'plugin' => null,
'_matchedRoute' => '/stock/make/mk/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => 'QLbBgJAZDphdizZLZnvRy+dK5X1lc5KLYYsCoQbkP2e1+vFMXnt30wUJYaoWpsSE+KOOeeRQA0OXtQTUG9RupdJ8eFLUviwOgXrdTl0WprkE7WCYZIAPBYeZxHRmS0TkYzkDnSfD8+HLkr1J0mJidQ==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => '<div class=',
],
'controller' => 'Stock',
'action' => 'make',
'mk' => '',
'plugin' => null,
'_matchedRoute' => '/stock/make/mk/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => 'QLbBgJAZDphdizZLZnvRy+dK5X1lc5KLYYsCoQbkP2e1+vFMXnt30wUJYaoWpsSE+KOOeeRQA0OXtQTUG9RupdJ8eFLUviwOgXrdTl0WprkE7WCYZIAPBYeZxHRmS0TkYzkDnSfD8+HLkr1J0mJidQ==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/tokyomotors/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
if (!in_array($request->getMethod(), $this->methods, true)) {
|
|
return $handler->handle($request);
|
|
}
|
|
[$type] = explode(';', $request->getHeaderLine('Content-Type'));
|
|
$type = strtolower($type);
|
|
if (!isset($this->parsers[$type])) {
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => '<div class=',
],
'controller' => 'Stock',
'action' => 'make',
'mk' => '',
'plugin' => null,
'_matchedRoute' => '/stock/make/mk/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => '<div class=',
],
'controller' => 'Stock',
'action' => 'make',
'mk' => '',
'plugin' => null,
'_matchedRoute' => '/stock/make/mk/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/tokyomotors/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
);
|
|
}
|
|
$matching = Router::getRouteCollection()->getMiddleware($middleware);
|
|
if (!$matching) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
$container = $this->app instanceof ContainerApplicationInterface
|
|
? $this->app->getContainer()
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => '<div class=',
],
'controller' => 'Stock',
'action' => 'make',
'mk' => '',
'plugin' => null,
'_matchedRoute' => '/stock/make/mk/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => '<div class=',
],
'controller' => 'Stock',
'action' => 'make',
'mk' => '',
'plugin' => null,
'_matchedRoute' => '/stock/make/mk/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/tokyomotors/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$url = $request->getUri()->getPath();
|
|
if (str_contains($url, '..') || !str_contains($url, '.')) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
if (str_contains($url, '/.')) {
|
|
return $handler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/tokyomotors/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
try {
|
|
return $handler->handle($request);
|
|
} catch (RedirectException $exception) {
|
|
return $this->handleRedirect($exception);
|
|
} catch (Throwable $exception) {
|
|
return $this->handleException($exception, Router::getRequest() ?? $request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/home/tokyomotors/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$this->queue = $queue;
|
|
$this->queue->rewind();
|
|
$this->fallbackHandler = $fallbackHandler;
|
|
|
|
return $this->handle($request);
|
|
}
|
|
|
|
/**
|
|
* Handle incoming server request and return a response.
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
}
|
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]);
|
|
|
|
$response = $this->runner->run($middleware, $request, $this->app);
|
|
|
|
if ($request instanceof ServerRequest) {
|
|
$request->getSession()->close();
|
|
}
|
Toggle Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 5
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
(int) 3 => object(Cake\Http\Middleware\BodyParserMiddleware) id:4 {
},
(int) 4 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:5 {
},
]
protected container => object(Cake\Core\Container) id:6 {
protected defaultToShared => false
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:7 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:8 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:9 {
}
protected delegates => [
'' => [maximum depth reached],
]
}
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'USER' => 'tokyomotors',
'HOME' => '/home/tokyomotors',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/stock/make/mk/%3Cdiv%20class=',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/stock/make/mk/<div class=',
'REMOTE_PORT' => '61448',
'SCRIPT_FILENAME' => '/home/tokyomotors/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@tokyomotors.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/tokyomotors/public_html',
'REMOTE_ADDR' => '216.73.216.144',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '51.38.251.25',
'SERVER_NAME' => 'tokyomotors.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_HOST' => 'tokyomotors.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'tokyomotors.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'SCRIPT_URL' => '/stock/make/mk/<div class=',
'UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'tokyomotors.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://tokyomotors.com/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/stock/make/mk/<div class=',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aSTAEDnT39w7BXuFCZJWcAAAACk',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764016144.0112,
'REQUEST_TIME' => (int) 1764016144,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #5
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'tokyomotors.com'
private port => null
private path => '/stock/make/mk/%3Cdiv%20class='
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 0
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/tokyomotors/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => object(App\Controller\StockController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
-
|
// 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());
|
|
|
Toggle Arguments
-
If you want to customize this error message, create
templates/Error/error500.php