Notice (8)
: file_put_contents(): Write of 276 bytes failed with errno=28 No space left on device [in
/home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line
140]
Code
if (!$mask) {
file_put_contents($pathname, $message . "\n", FILE_APPEND);
file_put_contents [internal], line ??
Cake\Log\Engine\FileLog::log() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 140
Cake\Log\Log::write() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Log/Log.php, line 392
Cake\Log\Log::warning() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Log/Log.php, line 477
DebugKit\ToolbarService::isSuspiciouslyProduction() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/debug_kit/src/ToolbarService.php, line 173
DebugKit\ToolbarService::isEnabled() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/debug_kit/src/ToolbarService.php, line 107
DebugKit\Plugin::bootstrap() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/debug_kit/src/Plugin.php, line 50
Cake\Http\BaseApplication::pluginBootstrap() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 182
Cake\Http\Server::bootstrap() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 111
Cake\Http\Server::run() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 79
[main] /home/live3657/domains/vietnam-tickets.com/public_html/index.php, line 36
Notice (8)
: file_put_contents() [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: Write of 8681 bytes failed with errno=28 No space left on device [in
/home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line
140]
Code
if (!$mask) {
file_put_contents($pathname, $message . "\n", FILE_APPEND);
file_put_contents [internal], line ??
Cake\Log\Engine\FileLog::log() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php, line 140
Cake\Log\Log::write() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Log/Log.php, line 392
Cake\Log\Log::error() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Log/Log.php, line 461
Cake\Error\ErrorLogger::logException() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/ErrorLogger.php, line 99
Cake\Error\ExceptionTrap::logException() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 358
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 150
Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135
Cake\Http\Runner::handle() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner::run() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php, line 67
Cake\Http\Server::run() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 90
[main] /home/live3657/domains/vietnam-tickets.com/public_html/index.php, line 36
Warning (512)
: Unable to emit headers. Headers sent in file=/home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=36 [in
/home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
71]
Code
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
Cake\Http\ResponseEmitter::emit() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71
Cake\Http\Server::emit() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 128
[main] /home/live3657/domains/vietnam-tickets.com/public_html/index.php, line 36
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in
/home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
168]
Code
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
header [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168
Cake\Http\ResponseEmitter::emit() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 74
Cake\Http\Server::emit() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 128
[main] /home/live3657/domains/vietnam-tickets.com/public_html/index.php, line 36
Warning (2)
: Cannot modify header information - headers already sent by (output started at /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in
/home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
197]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
header [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197
Cake\Http\ResponseEmitter::emit() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75
Cake\Http\Server::emit() /home/live3657/domains/vietnam-tickets.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php, line 128
[main] /home/live3657/domains/vietnam-tickets.com/public_html/index.php, line 36
|
if (!empty($config['encoding'])) { |
|
$dsn .= ";charset={$config['encoding']}"; |
|
} |
|
|
|
$this->_connect($dsn, $config); |
|
|
|
if (!empty($config['init'])) { |
|
$connection = $this->getConnection(); |
|
foreach ((array)$config['init'] as $command) { |
Arguments
'mysql:host=localhost;port=3306;dbname=live3657_vietnamticketscom;charset=utf8mb4'Copy
[
'persistent' => false,
'timezone' => '+0:00',
'flags' => [
(int) 12 => false,
(int) 1000 => true,
(int) 3 => (int) 2,
],
'cacheMetadata' => true,
'quoteIdentifiers' => false,
'host' => 'localhost',
'username' => 'live3657',
'password' => 'a2exjhbq80zm97u4rp6n',
'database' => 'live3657_vietnamticketscom',
'url' => null,
'encoding' => 'utf8mb4',
'port' => '3306',
'init' => [
(int) 0 => 'SET time_zone = '+0:00'',
],
]Copy
|
* @param \Cake\Database\DriverInterface $driver The driver to use. |
|
*/ |
|
public function __construct(DriverInterface $driver) |
|
{ |
|
$driver->connect(); |
|
$this->_driver = $driver; |
|
} |
|
|
|
/** |
|
*/ |
|
public function schemaDialect(): SchemaDialect |
|
{ |
|
if ($this->_schemaDialect === null) { |
|
$this->_schemaDialect = new MysqlSchemaDialect($this); |
|
} |
|
|
|
return $this->_schemaDialect; |
|
} |
Arguments
object(Cake\Database\Driver\Mysql) id:0 {
'connected' => false
}Copy
|
*/ |
|
public function __construct(Connection $connection) |
|
{ |
|
$this->_connection = $connection; |
|
$this->_dialect = $connection->getDriver()->schemaDialect(); |
|
} |
|
|
|
/** |
|
* Get the list of tables, excluding any views, available in the current connection. |
|
} |
|
|
|
if (!empty($this->_config['cacheMetadata'])) { |
|
return $this->_schemaCollection = new CachedCollection( |
|
new SchemaCollection($this), |
|
empty($this->_config['cacheKeyPrefix']) ? $this->configName() : $this->_config['cacheKeyPrefix'], |
|
$this->getCacher() |
|
); |
|
} |
Arguments
object(Cake\Database\Connection) id:0 {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'encoding' => 'utf8mb4',
'name' => 'default',
]
'driver' => object(Cake\Database\Driver\Mysql) id:1 {
'connected' => false
}
'transactionLevel' => (int) 0
'transactionStarted' => false
'useSavePoints' => false
'logQueries' => false
'logger' => null
}Copy
|
{ |
|
if ($this->_schema === null) { |
|
$this->_schema = $this->_initializeSchema( |
|
$this->getConnection() |
|
->getSchemaCollection() |
|
->describe($this->getTable()) |
|
); |
|
if (Configure::read('debug')) { |
|
$this->checkAliasLengths(); |
|
*/ |
|
public function addDefaultTypes(Table $table) |
|
{ |
|
$alias = $table->getAlias(); |
|
$map = $table->getSchema()->typeMap(); |
|
$fields = []; |
|
foreach ($map as $f => $type) { |
|
$fields[$f] = $fields[$alias . '.' . $f] = $fields[$alias . '__' . $f] = $type; |
|
} |
|
parent::__construct($connection); |
|
$this->repository($table); |
|
|
|
if ($this->_repository !== null) { |
|
$this->addDefaultTypes($this->_repository); |
|
} |
|
} |
|
|
|
/** |
Arguments
object(App\Model\Table\SeoRedirectsTable) id:0 {
'registryAlias' => 'SeoRedirects'
'table' => 'seo_redirects'
'alias' => 'SeoRedirects'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
(int) 0 => 'User',
]
'behaviors' => [
(int) 0 => 'UnixTimestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}Copy
|
* @return \Cake\ORM\Query |
|
*/ |
|
public function query(): Query |
|
{ |
|
return new Query($this->getConnection(), $this); |
|
} |
|
|
|
/** |
|
* Creates a new Query::subquery() instance for a table. |
Arguments
object(Cake\Database\Connection) id:0 {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'encoding' => 'utf8mb4',
'name' => 'default',
]
'driver' => object(Cake\Database\Driver\Mysql) id:1 {
'connected' => false
}
'transactionLevel' => (int) 0
'transactionStarted' => false
'useSavePoints' => false
'logQueries' => false
'logger' => null
}Copy
object(App\Model\Table\SeoRedirectsTable) id:0 {
'registryAlias' => 'SeoRedirects'
'table' => 'seo_redirects'
'alias' => 'SeoRedirects'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
(int) 0 => 'User',
]
'behaviors' => [
(int) 0 => 'UnixTimestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}Copy
|
* @return \Cake\ORM\Query The query builder |
|
*/ |
|
public function find(string $type = 'all', array $options = []): Query |
|
{ |
|
return $this->callFinder($type, $this->query()->select(), $options); |
|
} |
|
|
|
/** |
|
* Returns the query as passed. |
|
public function getRedirectUrl($url = null)
|
|
{
|
|
if(empty($url)) return null;
|
|
|
|
$result = TableRegistry::get('SeoRedirects')->find()->where([
|
|
'url' => $url,
|
|
'status' => 1
|
|
])->select(['redirect'])->first();
|
|
|
|
die;
|
|
}
|
|
|
|
if(!empty($check_redirect['redirect_301'])){
|
|
$redirect = TableRegistry::get('SeoRedirects')->getRedirectUrl(ltrim($_SERVER['REQUEST_URI'], '/'));
|
|
if(!is_null($redirect)){
|
|
$url = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . '/' . $redirect;
|
|
header('HTTP/1.1 301 Moved Permanently');
|
|
header('Location: ' . $url);
|
Arguments
've-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html'Copy
|
protected function _callListener(callable $listener, EventInterface $event) |
|
{ |
|
$data = (array)$event->getData(); |
|
|
|
return $listener($event, ...array_values($data)); |
|
} |
|
|
|
/** |
|
* @inheritDoc |
Arguments
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:2 {
}
protected response => object(Cake\Http\Response) id:3 {
}
protected autoRender => true
protected _components => null
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:4 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:5 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}Copy
|
foreach ($listeners as $listener) { |
|
if ($event->isStopped()) { |
|
break; |
|
} |
|
$result = $this->_callListener($listener['callable'], $event); |
|
if ($result === false) { |
|
$event->stopPropagation(); |
|
} |
|
if ($result !== null) { |
Arguments
[
(int) 0 => object(App\Controller\PageController) id:0 {
paginate => [
]
get_structure_layout => true
out_date => false
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:1 {
}
protected response => object(Cake\Http\Response) id:2 {
}
protected autoRender => true
protected _components => null
protected plugin => null
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id:3 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:4 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'Table' => [
'' => [maximum depth reached],
],
]
protected _modelType => 'Table'
protected _viewBuilder => null
},
(int) 1 => 'beforeFilter',
]Copy
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:2 {
}
protected response => object(Cake\Http\Response) id:3 {
}
protected autoRender => true
protected _components => null
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:4 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:5 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}Copy
|
} |
|
|
|
/** @var \Cake\Event\EventInterface $event */ |
|
$event = new $this->_eventClass($name, $subject, $data); |
|
$this->getEventManager()->dispatch($event); |
|
|
|
return $event; |
|
} |
|
} |
Arguments
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:2 {
}
protected response => object(Cake\Http\Response) id:3 {
}
protected autoRender => true
protected _components => null
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:4 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:5 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}Copy
|
* @return \Psr\Http\Message\ResponseInterface|null |
|
*/ |
|
public function startupProcess(): ?ResponseInterface |
|
{ |
|
$event = $this->dispatchEvent('Controller.initialize'); |
|
if ($event->getResult() instanceof ResponseInterface) { |
|
return $event->getResult(); |
|
} |
|
$event = $this->dispatchEvent('Controller.startup'); |
Arguments
'Controller.initialize'Copy
|
$controller = $this->controller; |
|
/** @psalm-suppress ArgumentTypeCoercion */ |
|
$controller->setRequest($request); |
|
|
|
$result = $controller->startupProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
} |
|
|
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'VzgRiXbTaOYez4U3mpnUhehvlY3X51KPv1Nyh91dF1CsCLV55ACDm3lp1AMyTA8YtWZ+/FYKgPAofZG7vzZBqAGlls8HThRn3lelvOGGYL2LYhGw6GhxMZw+hUjTMbP/S1+3NFN9aX6CB0+eMj3mlg==',
]
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
}Copy
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Arguments
object(App\Controller\PageController) id:0 {
paginate => [
]
get_structure_layout => true
out_date => false
protected name => 'Page'
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\PhpInputStream) id:2 {
}
protected uri => object(Cake\Http\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 autoRender => true
protected _components => null
protected plugin => null
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id:8 {
'_listeners' => [
'Controller.initialize' => '1 listener(s)',
'Controller.beforeRender' => '1 listener(s)',
'Controller.beforeRedirect' => '1 listener(s)',
'Controller.shutdown' => '1 listener(s)',
]
'_isGlobal' => false
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:9 {
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 => true
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'Page'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 9 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}Copy
|
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 ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'VzgRiXbTaOYez4U3mpnUhehvlY3X51KPv1Nyh91dF1CsCLV55ACDm3lp1AMyTA8YtWZ+/FYKgPAofZG7vzZBqAGlls8HThRn3lelvOGGYL2LYhGw6GhxMZw+hUjTMbP/S1+3NFN9aX6CB0+eMj3mlg==',
]
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
}Copy
|
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 ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'VzgRiXbTaOYez4U3mpnUhehvlY3X51KPv1Nyh91dF1CsCLV55ACDm3lp1AMyTA8YtWZ+/FYKgPAofZG7vzZBqAGlls8HThRn3lelvOGGYL2LYhGw6GhxMZw+hUjTMbP/S1+3NFN9aX6CB0+eMj3mlg==',
]
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
}Copy
|
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'VzgRiXbTaOYez4U3mpnUhehvlY3X51KPv1Nyh91dF1CsCLV55ACDm3lp1AMyTA8YtWZ+/FYKgPAofZG7vzZBqAGlls8HThRn3lelvOGGYL2LYhGw6GhxMZw+hUjTMbP/S1+3NFN9aX6CB0+eMj3mlg==',
]
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
}Copy
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'VzgRiXbTaOYez4U3mpnUhehvlY3X51KPv1Nyh91dF1CsCLV55ACDm3lp1AMyTA8YtWZ+/FYKgPAofZG7vzZBqAGlls8HThRn3lelvOGGYL2LYhGw6GhxMZw+hUjTMbP/S1+3NFN9aX6CB0+eMj3mlg==',
]
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
}Copy
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 1
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(Cake\Http\Runner) id:2 {
protected queue => object(Cake\Http\MiddlewareQueue) id:3 {
}
protected fallbackHandler => object(App\Application) id:4 {
}
}
}Copy
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
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
}Copy
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $handler); |
|
} |
|
} |
|
|
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 1
protected queue => [
(int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:1 {
},
]
}Copy
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
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
}Copy
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/live3657/domains/vietnam-tickets.com/public_html/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}Copy
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
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
}Copy
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/live3657/domains/vietnam-tickets.com/public_html/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}Copy
|
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !is_file($assetFile)) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$file = new SplFileInfo($assetFile); |
|
$modifiedTime = $file->getMTime(); |
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/live3657/domains/vietnam-tickets.com/public_html/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}Copy
|
*/ |
|
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, $request); |
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/live3657/domains/vietnam-tickets.com/public_html/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}Copy
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 3
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 {
},
]
}Copy
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
object(App\Application) id:0 {
protected configDir => '/home/live3657/domains/vietnam-tickets.com/public_html/web4s/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\PageController) 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'
}Copy
|
// Bind your application to the server.
|
|
$server = new Server(new Application($core_path . '/config'));
|
|
|
|
// Run the request/response through the application and emit the response.
|
|
$server->emit($server->run());
|
|
|
|
$this->setConnection(new PDO( |
|
$dsn, |
|
$config['username'] ?: null, |
|
$config['password'] ?: null, |
|
$config['flags'] |
|
)); |
|
}; |
|
|
|
$retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES, 5), 4); |
Arguments
'mysql:host=localhost;port=3306;dbname=live3657_vietnamticketscom;charset=utf8mb4'Copy
'a2exjhbq80zm97u4rp6n'Copy
[
(int) 12 => false,
(int) 1000 => true,
(int) 3 => (int) 2,
]Copy
|
{ |
|
$this->numRetries = 0; |
|
while (true) { |
|
try { |
|
return $action(); |
|
} catch (Exception $e) { |
|
if ( |
|
$this->numRetries < $this->maxRetries && |
|
$this->strategy->shouldRetry($e, $this->numRetries) |
|
}; |
|
|
|
$retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES, 5), 4); |
|
try { |
|
$retry->run($action); |
|
} catch (PDOException $e) { |
|
throw new MissingConnectionException( |
|
[ |
|
'driver' => App::shortName(static::class, 'Database/Driver'), |
Arguments
object(Closure) id:0 {
}Copy
|
if (!empty($config['encoding'])) { |
|
$dsn .= ";charset={$config['encoding']}"; |
|
} |
|
|
|
$this->_connect($dsn, $config); |
|
|
|
if (!empty($config['init'])) { |
|
$connection = $this->getConnection(); |
|
foreach ((array)$config['init'] as $command) { |
Arguments
'mysql:host=localhost;port=3306;dbname=live3657_vietnamticketscom;charset=utf8mb4'Copy
[
'persistent' => false,
'timezone' => '+0:00',
'flags' => [
(int) 12 => false,
(int) 1000 => true,
(int) 3 => (int) 2,
],
'cacheMetadata' => true,
'quoteIdentifiers' => false,
'host' => 'localhost',
'username' => 'live3657',
'password' => 'a2exjhbq80zm97u4rp6n',
'database' => 'live3657_vietnamticketscom',
'url' => null,
'encoding' => 'utf8mb4',
'port' => '3306',
'init' => [
(int) 0 => 'SET time_zone = '+0:00'',
],
]Copy
|
* @param \Cake\Database\DriverInterface $driver The driver to use. |
|
*/ |
|
public function __construct(DriverInterface $driver) |
|
{ |
|
$driver->connect(); |
|
$this->_driver = $driver; |
|
} |
|
|
|
/** |
|
*/ |
|
public function schemaDialect(): SchemaDialect |
|
{ |
|
if ($this->_schemaDialect === null) { |
|
$this->_schemaDialect = new MysqlSchemaDialect($this); |
|
} |
|
|
|
return $this->_schemaDialect; |
|
} |
Arguments
object(Cake\Database\Driver\Mysql) id:0 {
'connected' => false
}Copy
|
*/ |
|
public function __construct(Connection $connection) |
|
{ |
|
$this->_connection = $connection; |
|
$this->_dialect = $connection->getDriver()->schemaDialect(); |
|
} |
|
|
|
/** |
|
* Get the list of tables, excluding any views, available in the current connection. |
|
} |
|
|
|
if (!empty($this->_config['cacheMetadata'])) { |
|
return $this->_schemaCollection = new CachedCollection( |
|
new SchemaCollection($this), |
|
empty($this->_config['cacheKeyPrefix']) ? $this->configName() : $this->_config['cacheKeyPrefix'], |
|
$this->getCacher() |
|
); |
|
} |
Arguments
object(Cake\Database\Connection) id:0 {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'encoding' => 'utf8mb4',
'name' => 'default',
]
'driver' => object(Cake\Database\Driver\Mysql) id:1 {
'connected' => false
}
'transactionLevel' => (int) 0
'transactionStarted' => false
'useSavePoints' => false
'logQueries' => false
'logger' => null
}Copy
|
{ |
|
if ($this->_schema === null) { |
|
$this->_schema = $this->_initializeSchema( |
|
$this->getConnection() |
|
->getSchemaCollection() |
|
->describe($this->getTable()) |
|
); |
|
if (Configure::read('debug')) { |
|
$this->checkAliasLengths(); |
|
*/ |
|
public function addDefaultTypes(Table $table) |
|
{ |
|
$alias = $table->getAlias(); |
|
$map = $table->getSchema()->typeMap(); |
|
$fields = []; |
|
foreach ($map as $f => $type) { |
|
$fields[$f] = $fields[$alias . '.' . $f] = $fields[$alias . '__' . $f] = $type; |
|
} |
|
parent::__construct($connection); |
|
$this->repository($table); |
|
|
|
if ($this->_repository !== null) { |
|
$this->addDefaultTypes($this->_repository); |
|
} |
|
} |
|
|
|
/** |
Arguments
object(App\Model\Table\SeoRedirectsTable) id:0 {
'registryAlias' => 'SeoRedirects'
'table' => 'seo_redirects'
'alias' => 'SeoRedirects'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
(int) 0 => 'User',
]
'behaviors' => [
(int) 0 => 'UnixTimestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}Copy
|
* @return \Cake\ORM\Query |
|
*/ |
|
public function query(): Query |
|
{ |
|
return new Query($this->getConnection(), $this); |
|
} |
|
|
|
/** |
|
* Creates a new Query::subquery() instance for a table. |
Arguments
object(Cake\Database\Connection) id:0 {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'encoding' => 'utf8mb4',
'name' => 'default',
]
'driver' => object(Cake\Database\Driver\Mysql) id:1 {
'connected' => false
}
'transactionLevel' => (int) 0
'transactionStarted' => false
'useSavePoints' => false
'logQueries' => false
'logger' => null
}Copy
object(App\Model\Table\SeoRedirectsTable) id:0 {
'registryAlias' => 'SeoRedirects'
'table' => 'seo_redirects'
'alias' => 'SeoRedirects'
'entityClass' => 'Cake\ORM\Entity'
'associations' => [
(int) 0 => 'User',
]
'behaviors' => [
(int) 0 => 'UnixTimestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}Copy
|
* @return \Cake\ORM\Query The query builder |
|
*/ |
|
public function find(string $type = 'all', array $options = []): Query |
|
{ |
|
return $this->callFinder($type, $this->query()->select(), $options); |
|
} |
|
|
|
/** |
|
* Returns the query as passed. |
|
public function getRedirectUrl($url = null)
|
|
{
|
|
if(empty($url)) return null;
|
|
|
|
$result = TableRegistry::get('SeoRedirects')->find()->where([
|
|
'url' => $url,
|
|
'status' => 1
|
|
])->select(['redirect'])->first();
|
|
|
|
die;
|
|
}
|
|
|
|
if(!empty($check_redirect['redirect_301'])){
|
|
$redirect = TableRegistry::get('SeoRedirects')->getRedirectUrl(ltrim($_SERVER['REQUEST_URI'], '/'));
|
|
if(!is_null($redirect)){
|
|
$url = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . '/' . $redirect;
|
|
header('HTTP/1.1 301 Moved Permanently');
|
|
header('Location: ' . $url);
|
Arguments
've-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html'Copy
|
protected function _callListener(callable $listener, EventInterface $event) |
|
{ |
|
$data = (array)$event->getData(); |
|
|
|
return $listener($event, ...array_values($data)); |
|
} |
|
|
|
/** |
|
* @inheritDoc |
Arguments
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:2 {
}
protected response => object(Cake\Http\Response) id:3 {
}
protected autoRender => true
protected _components => null
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:4 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:5 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}Copy
|
foreach ($listeners as $listener) { |
|
if ($event->isStopped()) { |
|
break; |
|
} |
|
$result = $this->_callListener($listener['callable'], $event); |
|
if ($result === false) { |
|
$event->stopPropagation(); |
|
} |
|
if ($result !== null) { |
Arguments
[
(int) 0 => object(App\Controller\PageController) id:0 {
paginate => [
]
get_structure_layout => true
out_date => false
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:1 {
}
protected response => object(Cake\Http\Response) id:2 {
}
protected autoRender => true
protected _components => null
protected plugin => null
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id:3 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:4 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'Table' => [
'' => [maximum depth reached],
],
]
protected _modelType => 'Table'
protected _viewBuilder => null
},
(int) 1 => 'beforeFilter',
]Copy
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:2 {
}
protected response => object(Cake\Http\Response) id:3 {
}
protected autoRender => true
protected _components => null
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:4 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:5 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}Copy
|
} |
|
|
|
/** @var \Cake\Event\EventInterface $event */ |
|
$event = new $this->_eventClass($name, $subject, $data); |
|
$this->getEventManager()->dispatch($event); |
|
|
|
return $event; |
|
} |
|
} |
Arguments
object(Cake\Event\Event) id:0 {
protected _name => 'Controller.initialize'
protected _subject => object(App\Controller\PageController) id:1 {
paginate => [
'' => [maximum depth reached],
]
get_structure_layout => true
out_date => false
protected name => 'Page'
protected request => object(Cake\Http\ServerRequest) id:2 {
}
protected response => object(Cake\Http\Response) id:3 {
}
protected autoRender => true
protected _components => null
protected plugin => null
protected middlewares => [
'' => [maximum depth reached],
]
protected _eventManager => object(Cake\Event\EventManager) id:4 {
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:5 {
}
protected modelClass => 'Page'
protected _modelFactories => [
'' => [maximum depth reached],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}
protected _data => [
]
protected result => null
protected _stopped => false
}Copy
|
* @return \Psr\Http\Message\ResponseInterface|null |
|
*/ |
|
public function startupProcess(): ?ResponseInterface |
|
{ |
|
$event = $this->dispatchEvent('Controller.initialize'); |
|
if ($event->getResult() instanceof ResponseInterface) { |
|
return $event->getResult(); |
|
} |
|
$event = $this->dispatchEvent('Controller.startup'); |
Arguments
'Controller.initialize'Copy
|
$controller = $this->controller; |
|
/** @psalm-suppress ArgumentTypeCoercion */ |
|
$controller->setRequest($request); |
|
|
|
$result = $controller->startupProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
} |
|
|
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'VzgRiXbTaOYez4U3mpnUhehvlY3X51KPv1Nyh91dF1CsCLV55ACDm3lp1AMyTA8YtWZ+/FYKgPAofZG7vzZBqAGlls8HThRn3lelvOGGYL2LYhGw6GhxMZw+hUjTMbP/S1+3NFN9aX6CB0+eMj3mlg==',
]
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
}Copy
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Arguments
object(App\Controller\PageController) id:0 {
paginate => [
]
get_structure_layout => true
out_date => false
protected name => 'Page'
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\PhpInputStream) id:2 {
}
protected uri => object(Cake\Http\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 autoRender => true
protected _components => null
protected plugin => null
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id:8 {
'_listeners' => [
'Controller.initialize' => '1 listener(s)',
'Controller.beforeRender' => '1 listener(s)',
'Controller.beforeRedirect' => '1 listener(s)',
'Controller.shutdown' => '1 listener(s)',
]
'_isGlobal' => false
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Page'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:9 {
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 => true
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'Page'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 9 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => null
}Copy
|
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 ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'VzgRiXbTaOYez4U3mpnUhehvlY3X51KPv1Nyh91dF1CsCLV55ACDm3lp1AMyTA8YtWZ+/FYKgPAofZG7vzZBqAGlls8HThRn3lelvOGGYL2LYhGw6GhxMZw+hUjTMbP/S1+3NFN9aX6CB0+eMj3mlg==',
]
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
}Copy
|
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 ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'VzgRiXbTaOYez4U3mpnUhehvlY3X51KPv1Nyh91dF1CsCLV55ACDm3lp1AMyTA8YtWZ+/FYKgPAofZG7vzZBqAGlls8HThRn3lelvOGGYL2LYhGw6GhxMZw+hUjTMbP/S1+3NFN9aX6CB0+eMj3mlg==',
]
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
}Copy
|
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'VzgRiXbTaOYez4U3mpnUhehvlY3X51KPv1Nyh91dF1CsCLV55ACDm3lp1AMyTA8YtWZ+/FYKgPAofZG7vzZBqAGlls8HThRn3lelvOGGYL2LYhGw6GhxMZw+hUjTMbP/S1+3NFN9aX6CB0+eMj3mlg==',
]
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
}Copy
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => 'VzgRiXbTaOYez4U3mpnUhehvlY3X51KPv1Nyh91dF1CsCLV55ACDm3lp1AMyTA8YtWZ+/FYKgPAofZG7vzZBqAGlls8HThRn3lelvOGGYL2LYhGw6GhxMZw+hUjTMbP/S1+3NFN9aX6CB0+eMj3mlg==',
]
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
}Copy
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 1
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(Cake\Http\Runner) id:2 {
protected queue => object(Cake\Http\MiddlewareQueue) id:3 {
}
protected fallbackHandler => object(App\Application) id:4 {
}
}
}Copy
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
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
}Copy
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $handler); |
|
} |
|
} |
|
|
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 1
protected queue => [
(int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:1 {
},
]
}Copy
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
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
}Copy
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/live3657/domains/vietnam-tickets.com/public_html/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}Copy
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 've-may-bay-di-nhat-ban',
(int) 1 => 've-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
],
'controller' => 'Page',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
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
}Copy
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/live3657/domains/vietnam-tickets.com/public_html/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}Copy
|
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !is_file($assetFile)) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$file = new SplFileInfo($assetFile); |
|
$modifiedTime = $file->getMTime(); |
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/live3657/domains/vietnam-tickets.com/public_html/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}Copy
|
*/ |
|
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, $request); |
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 3
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/live3657/domains/vietnam-tickets.com/public_html/web4s/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}Copy
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 3
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 {
},
]
}Copy
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 => [
'CONTEXT_DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/live3657/domains/vietnam-tickets.com/private_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '46-1',
'HTTP2' => 'on',
'HTTPS' => 'on',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br, zstd',
'HTTP_AUTHORIZATION' => '',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_HOST' => 'vietnam-tickets.com',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_PRIORITY' => 'u=0, i',
'HTTP_SEC_CH_UA' => '"Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"',
'HTTP_SEC_CH_UA_MOBILE' => '?0',
'HTTP_SEC_CH_UA_PLATFORM' => '"Windows"',
'HTTP_SEC_FETCH_DEST' => 'document',
'HTTP_SEC_FETCH_MODE' => 'navigate',
'HTTP_SEC_FETCH_SITE' => 'none',
'HTTP_SEC_FETCH_USER' => '?1',
'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/php81/lib/',
'QUERY_STRING' => '',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '46-1',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'vietnam-tickets.com',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'REDIRECT_URL' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'REMOTE_ADDR' => '18.219.255.84',
'REMOTE_PORT' => '52276',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/ve-may-bay-di-nhat-ban/ve-may-bay-ha-noi-nhat-ban-gia-re-nhat.html',
'SCRIPT_FILENAME' => '/home/live3657/domains/vietnam-tickets.com/private_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '103.101.163.116',
'SERVER_ADMIN' => 'webmaster@vietnam-tickets.com',
'SERVER_NAME' => 'vietnam-tickets.com',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache/2',
'SSL_TLS_SNI' => 'vietnam-tickets.com',
'UNIQUE_ID' => 'aBVRcdJiBArAKjKNEA8CeAAALgE',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1746227569.5568,
'REQUEST_TIME' => (int) 1746227569,
'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',
],
'ssl' => [
'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\PhpInputStream) id:3 {
protected resource => (resource) Resource id #195
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => ''
private webroot => '/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 10800
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
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
}Copy
object(App\Application) id:0 {
protected configDir => '/home/live3657/domains/vietnam-tickets.com/public_html/web4s/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\PageController) 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'
}Copy
|
// Bind your application to the server.
|
|
$server = new Server(new Application($core_path . '/config'));
|
|
|
|
// Run the request/response through the application and emit the response.
|
|
$server->emit($server->run());
|
|
|
If you want to customize this error message, create
templates/Error/error500.php