ROOT/plugins/Cms/src/Controller/ContentPagesController.php at line 60
(edit)
|
if($loadingContent !== false) { |
|
return $loadingContent; |
|
} |
|
|
|
throw new RecordNotFoundException('This (content-) page could not be found'); |
|
} |
|
|
|
protected function handleRedirect($url) |
|
{ |
-
|
* @throws \UnexpectedValueException If return value of action is not `null` or `ResponseInterface` instance. |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null && !$result instanceof ResponseInterface) { |
|
throw new UnexpectedValueException(sprintf( |
|
'Controller actions can only return ResponseInterface instance or null. ' |
|
. 'Got %s instead.', |
Toggle Arguments
-
|
|
|
return; |
|
} |
|
|
|
parent::invokeAction($action, $args); |
|
} |
|
|
|
/** |
|
* Check if an action can be dispatched using CRUD. |
Toggle Arguments
[
(int) 0 => 'help/category/5/',
]
-
|
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
Toggle Arguments
[
(int) 0 => 'help/category/5/',
]
-
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
'csrfToken' => 'JLon0HR31rqh9kOTOEy8D+NPg4Vkt6HIja/KlfhFbYQ6xJ8+YCqUi5vRTKTS8Jsw/nh+xaIUIj9/NBAj9jPHUg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
|
|
// This is needed for auto-wiring. Should be removed in 5.x |
|
$container->add(ComponentRegistry::class, $controller->components()); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Toggle Arguments
object(Cms\Controller\ContentPagesController) id:0 {
Users => object(App\Model\Table\UsersTable) id:1 {
'registryAlias' => 'Users'
'table' => 'users'
'alias' => 'Users'
'entityClass' => 'App\Model\Entity\User'
'associations' => [
(int) 0 => 'UserStates',
(int) 1 => 'UserStateLogs',
(int) 2 => 'Companies',
(int) 3 => 'Groups',
(int) 4 => 'Locations',
(int) 5 => 'UserTrustLevels',
(int) 6 => 'Addresses',
(int) 7 => 'ActionLogs',
(int) 8 => 'Backups',
(int) 9 => 'Blogs',
(int) 10 => 'Comments',
(int) 11 => 'CreditTransactions',
(int) 12 => 'CronjobTriggers',
(int) 13 => 'Invoices',
(int) 14 => 'IpAddressRangeBlocks',
(int) 15 => 'IpAddresses',
(int) 16 => 'LocalIpBlocks',
(int) 17 => 'Networks',
(int) 18 => 'Notifications',
(int) 19 => 'Orders',
(int) 20 => 'Payments',
(int) 21 => 'PointLogs',
(int) 22 => 'Reviews',
(int) 23 => 'UserProfileFields',
(int) 24 => 'UserUtmParameters',
(int) 25 => 'UserAffiliateCommissions',
(int) 26 => 'UserAffiliateTiers',
(int) 27 => 'AffiliateLinks',
(int) 28 => 'ParentUsers',
(int) 29 => 'AffiliateStatistics',
(int) 30 => 'ChildUsers',
(int) 31 => 'UserRegistrationReferences',
(int) 32 => 'PaymentMethods',
(int) 33 => 'UserApprovalRequests',
(int) 34 => 'UserIdAnalyzers',
(int) 35 => 'FraudChecks',
(int) 36 => 'CouponLogs',
(int) 37 => 'IpBlacklist',
(int) 38 => 'OrderItemLimitRequests',
(int) 39 => 'UserTrustLevelLogs',
(int) 40 => 'UserDiscounts',
(int) 41 => 'CreatedUserDiscounts',
(int) 42 => 'UserApiTokens',
(int) 43 => 'Currencies',
(int) 44 => 'UserComments',
]
'behaviors' => [
(int) 0 => 'Timestamp',
(int) 1 => 'States',
(int) 2 => 'CompanySpecific',
(int) 3 => 'Tree',
(int) 4 => 'Points',
(int) 5 => 'Comments',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Companies => object(App\Model\Table\CompaniesTable) id:2 {
'registryAlias' => 'Companies'
'table' => 'companies'
'alias' => 'Companies'
'entityClass' => 'App\Model\Entity\Company'
'associations' => [
(int) 0 => 'Categories',
(int) 1 => 'CompanyUrls',
(int) 2 => 'IpAddresses',
(int) 3 => 'Users',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
paginate => [
]
Flash => object(Cake\Controller\Component\FlashComponent) id:3 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'key' => 'flash',
'element' => 'default',
'plugin' => null,
'params' => [
'' => [maximum depth reached],
],
'clear' => false,
'duplicate' => true,
]
}
Authentication => object(App\Controller\Component\AuthenticationComponent) id:4 {
'components' => [
]
'implementedEvents' => [
'Controller.initialize' => 'beforeFilter',
'Controller.startup' => 'startup',
]
'_config' => [
'logoutRedirect' => false,
'requireIdentity' => true,
'identityAttribute' => 'identity',
'identityCheckEvent' => 'Controller.startup',
'unauthenticatedMessage' => null,
]
}
Authorization => object(Authorization\Controller\Component\AuthorizationComponent) id:5 {
'components' => [
]
'implementedEvents' => [
'Controller.startup' => 'authorizeAction',
]
'_config' => [
'identityAttribute' => 'identity',
'serviceAttribute' => 'authorization',
'authorizationEvent' => 'Controller.startup',
'skipAuthorization' => [
'' => [maximum depth reached],
],
'authorizeModel' => [
'' => [maximum depth reached],
],
'actionMap' => [
'' => [maximum depth reached],
],
]
}
Affiliate => object(App\Controller\Component\AffiliateComponent) id:6 {
'components' => [
(int) 0 => 'Cookie',
(int) 1 => 'Authentication',
]
'implementedEvents' => [
'Controller.initialize' => 'beforeFilter',
'Controller.beforeRender' => 'beforeRender',
'Controller.beforeRedirect' => 'beforeRedirect',
]
'_config' => [
'affiliateUrls' => [
'' => [maximum depth reached],
],
'redirectUrl' => '/',
'signup' => false,
'lead' => false,
]
}
ReCaptcha => object(App\Controller\Component\ReCaptchaComponent) id:7 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
]
}
ContentPageCategories => object(Cms\Model\Table\ContentPageCategoriesTable) id:8 {
'registryAlias' => 'Cms.ContentPageCategories'
'table' => 'content_page_categories'
'alias' => 'ContentPageCategories'
'entityClass' => 'Cms\Model\Entity\ContentPageCategory'
'associations' => [
(int) 0 => 'ContentPages',
(int) 1 => 'Metadata',
]
'behaviors' => [
(int) 0 => 'Timestamp',
(int) 1 => 'History',
(int) 2 => 'Metadata',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
ContentPages => object(Cms\Model\Table\ContentPagesTable) id:9 {
'registryAlias' => 'Cms.ContentPages'
'table' => 'content_pages'
'alias' => 'ContentPages'
'entityClass' => 'Cms\Model\Entity\ContentPage'
'associations' => [
(int) 0 => 'ParentContentPages',
(int) 1 => 'ChildContentPages',
(int) 2 => 'MainLanguageContentPages',
(int) 3 => 'ChildLanguageContentPages',
(int) 4 => 'Languages',
(int) 5 => 'Canonicals',
(int) 6 => 'MainContentPageCategories',
(int) 7 => 'RelatedContentPageCategories',
(int) 8 => 'ContentPageCategories',
(int) 9 => 'Authors',
(int) 10 => 'ContentPageLayouts',
(int) 11 => 'ContentPageScripts',
(int) 12 => 'FaqContentPages',
(int) 13 => 'Thumbnails',
(int) 14 => 'Metadata',
(int) 15 => 'Companies',
]
'behaviors' => [
(int) 0 => 'Metadata',
(int) 1 => 'Tree',
(int) 2 => 'CompanySpecific',
(int) 3 => 'History',
(int) 4 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Authors => object(Cms\Model\Table\AuthorsTable) id:10 {
'registryAlias' => 'Cms.Authors'
'table' => 'authors'
'alias' => 'Authors'
'entityClass' => 'Cms\Model\Entity\Author'
'associations' => [
(int) 0 => 'Metadata',
(int) 1 => 'Uploads',
(int) 2 => 'ContentPages',
]
'behaviors' => [
(int) 0 => 'Timestamp',
(int) 1 => 'Metadata',
(int) 2 => 'History',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
ContentItems => object(Cms\Model\Table\ContentItemsTable) id:11 {
'registryAlias' => 'Cms.ContentItems'
'table' => 'content_items'
'alias' => 'ContentItems'
'entityClass' => 'Cms\Model\Entity\ContentItem'
'associations' => [
(int) 0 => 'Companies',
(int) 1 => 'Users',
(int) 2 => 'Metadata',
]
'behaviors' => [
(int) 0 => 'Timestamp',
(int) 1 => 'Slug',
(int) 2 => 'CompanySpecific',
(int) 3 => 'History',
]
'defaultConnection' => 'read'
'connectionName' => 'read'
}
protected isFrontend => true
protected currentUrl => null
protected isBackoffice => false
protected _validatedUser => null
protected userVatRate => [
]
protected defaultLanguage => true
protected language => object(App\Model\Entity\Language) id:12 {
'id' => (int) 1
'name' => 'English'
'code' => 'en'
'created' => object(App\I18n\FrozenTime) id:13 {
}
'modified' => object(App\I18n\FrozenTime) id:14 {
}
'[new]' => false
'[accessible]' => [
'name' => true,
'code' => true,
'created' => true,
'modified' => true,
'content_page_elements' => true,
'content_pages' => true,
]
'[dirty]' => [
]
'[original]' => [
]
'[virtual]' => [
]
'[hasErrors]' => false
'[errors]' => [
]
'[invalid]' => [
]
'[repository]' => 'Languages'
}
protected name => 'ContentPages'
protected request => object(Cake\Http\ServerRequest) id:15 {
trustProxy => true
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:16 {
}
protected uri => object(Cake\Http\Uri) id:17 {
}
protected session => object(Cake\Http\Session) id:18 {
}
protected flash => object(Cake\Http\FlashMessage) id:19 {
}
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:20 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:21 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:22 {
'_Controller' => object(Cms\Controller\ContentPagesController) id: 0 {}
'_loaded' => [
(int) 0 => 'Flash',
(int) 1 => 'Authentication',
(int) 2 => 'Authorization',
(int) 3 => 'Affiliate',
(int) 4 => 'ReCaptcha',
]
'_eventManager' => object(Cake\Event\EventManager) id:23 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => 'Cms'
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 23 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Cms.ContentPages'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:24 {
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 => 'Cms.ContentPages'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 24 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => object(Cake\View\ViewBuilder) id:25 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => 'VpsserverComFrontend'
protected _layout => 'default'
protected _autoLayout => true
protected _layoutPath => null
protected _name => null
protected _className => 'VpsserverComFrontend.App'
protected _options => [
'' => [maximum depth reached],
]
protected _helpers => [
'' => [maximum depth reached],
]
protected _vars => [
'' => [maximum depth reached],
]
}
protected dispatchComponents => [
'Crud' => true,
]
protected mappedComponent => null
protected _serverManagers => null
}
-
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
'csrfToken' => 'JLon0HR31rqh9kOTOEy8D+NPg4Vkt6HIja/KlfhFbYQ6xJ8+YCqUi5vRTKTS8Jsw/nh+xaIUIj9/NBAj9jPHUg==',
]
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
}
-
|
} |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
|
|
if ($method === 'GET') { |
|
return $handler->handle($request); |
|
} |
|
|
|
if ($hasData) { |
|
$this->validateToken($request, $session); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
'csrfToken' => 'JLon0HR31rqh9kOTOEy8D+NPg4Vkt6HIja/KlfhFbYQ6xJ8+YCqUi5vRTKTS8Jsw/nh+xaIUIj9/NBAj9jPHUg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
'csrfToken' => 'JLon0HR31rqh9kOTOEy8D+NPg4Vkt6HIja/KlfhFbYQ6xJ8+YCqUi5vRTKTS8Jsw/nh+xaIUIj9/NBAj9jPHUg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
if(!$this->allowActivity()) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$user = $request->getAttribute('identity'); |
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
if (!in_array($request->getMethod(), $this->methods, true)) { |
|
return $handler->handle($request); |
|
} |
|
[$type] = explode(';', $request->getHeaderLine('Content-Type')); |
|
$type = strtolower($type); |
|
if (!isset($this->parsers[$type])) { |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
} |
|
|
|
$this->setLanguage($currentLanguage); |
|
|
|
return $handler->handle($request); |
|
} |
|
|
|
|
|
} |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
{ |
|
$this->_getCountryIsoCodeBasedOnIp($request); |
|
$this->_setLocale($request); |
|
|
|
return $handler->handle($request); |
|
} |
|
|
|
private function _getCountryIsoCodeBasedOnIp(ServerRequestInterface $request) |
|
{ |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
ServerRequestInterface $request, |
|
RequestHandlerInterface $handler |
|
): ResponseInterface |
|
{ |
|
$response = $handler->handle($request); |
|
$this->_checkBackListIp($request); |
|
|
|
return $response; |
|
} |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $this->getConfig('unauthorizedHandler')); |
|
} |
|
|
|
return $handler->handle($request); |
|
} |
|
} |
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$request = $request->withAttribute($attribute, $identity); |
|
} |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
|
|
if ($this->getConfig('requireAuthorizationCheck') && !$service->authorizationChecked()) { |
|
throw new AuthorizationRequiredException(['url' => $request->getRequestTarget()]); |
|
} |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
]; |
|
|
|
$this->setConfig($options); |
|
|
|
return parent::process($request, $handler); |
|
} |
|
} |
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
'authorization' => object(Authorization\AuthorizationService) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$request = $request->withAttribute('authentication', $service); |
|
$request = $request->withAttribute('authenticationResult', $result); |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
$authenticator = $service->getAuthenticationProvider(); |
|
|
|
if ($authenticator !== null && !$authenticator instanceof StatelessInterface) { |
|
$return = $service->persistIdentity($request, $response, $result->getData()); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:10 {
},
'authenticationResult' => object(App\Authenticator\Result) id:11 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$container = $this->app instanceof ContainerApplicationInterface |
|
? $this->app->getContainer() |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'url' => 'help/category/5/',
'pass' => [
(int) 0 => 'help/category/5/',
],
'controller' => 'ContentPages',
'action' => 'view',
'plugin' => 'Cms',
'_matchedRoute' => '/{url}',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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\Route) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
if ($request->getCookieParams()) { |
|
$request = $this->decodeCookies($request); |
|
} |
|
|
|
$response = $handler->handle($request); |
|
if ($response->hasHeader('Set-Cookie')) { |
|
$response = $this->encodeSetCookieHeader($response); |
|
} |
|
if ($response instanceof Response) { |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $handler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$this->_settings($request); |
|
|
|
Configure::write('App.adminIp', $this->_isCurrentConnectionFromAdminIp($request)); |
|
|
|
return $handler->handle($request); |
|
} |
|
|
|
private function _settings($request) |
|
{ |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
class SecurityMiddleware implements MiddlewareInterface |
|
{ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$response = $handler->handle($request); |
|
$response = $response |
|
->withHeader('Strict-Transport-Security', 'max-age=31536000; includeSubDomains') |
|
->withHeader('X-Frame-Options', 'SAMEORIGIN') |
|
->withHeader('Referrer-Policy', 'same-origin') |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 15
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected subDomainPlugins => [
'' => [maximum depth reached],
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
-
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Toggle Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 15
protected queue => [
(int) 0 => object(App\Middleware\SecurityMiddleware) id:1 {
},
(int) 1 => object(App\Middleware\SettingsMiddleware) id:2 {
},
(int) 2 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:3 {
},
(int) 3 => object(Cake\Routing\Middleware\AssetMiddleware) id:4 {
},
(int) 4 => object(Cake\Http\Middleware\EncryptedCookieMiddleware) id:5 {
},
(int) 5 => object(Cake\Routing\Middleware\RoutingMiddleware) id:6 {
},
(int) 6 => object(Authentication\Middleware\AuthenticationMiddleware) id:7 {
},
(int) 7 => object(App\Middleware\AuthorizationMiddleware) id:8 {
},
(int) 8 => object(Authorization\Middleware\RequestAuthorizationMiddleware) id:9 {
},
(int) 9 => object(App\Middleware\FirewallMiddleware) id:10 {
},
(int) 10 => object(App\Middleware\GeoIpMiddleware) id:11 {
},
(int) 11 => object(App\Middleware\LanguageMiddleware) id:12 {
},
(int) 12 => object(Cake\Http\Middleware\BodyParserMiddleware) id:13 {
},
(int) 13 => object(App\Middleware\UserActivityMiddleware) id:14 {
},
(int) 14 => object(Cake\Http\Middleware\SessionCsrfProtectionMiddleware) id:15 {
},
]
protected container => object(Cake\Core\Container) id:16 {
protected defaultToShared => false
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:17 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:18 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:19 {
}
protected delegates => [
'' => [maximum depth reached],
]
}
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => true
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
'$Version' => '1',
'PHPSESSID' => '77c631ddd2cf1ea3b887ec331ddca7c3',
'$Path' => '/',
]
protected _environment => [
'USER' => 'vpsserver',
'HOME' => '/home/vpsserver',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/help/category/5/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/help/category/5/',
'REMOTE_PORT' => '31270',
'SCRIPT_FILENAME' => '/home/vpsserver/public_html/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@vpsserver.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/vpsserver/public_html',
'REMOTE_ADDR' => '110.93.247.139',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '103.54.58.220',
'SERVER_NAME' => 'www.vpsserver.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CF_IPCOUNTRY' => 'PK',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_ACCEPT_LANGUAGE' => 'en, *',
'HTTP_ACCEPT' => 'text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1',
'HTTP_USER_AGENT' => 'Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)',
'HTTP_COOKIE' => '$Version=1; PHPSESSID=77c631ddd2cf1ea3b887ec331ddca7c3; $Path=/',
'HTTP_REFERER' => 'http://www.vpsserver.com/help/',
'HTTP_CF_VISITOR' => '{"scheme":"https"}',
'HTTP_X_FORWARDED_PROTO' => 'https',
'HTTP_CF_RAY' => '8ff72c47ddfe90a4-KHI',
'HTTP_X_FORWARDED_FOR' => '110.93.247.139',
'HTTP_ACCEPT_ENCODING' => 'gzip, br',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.vpsserver.com',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.vpsserver.com',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'SCRIPT_URL' => '/help/category/5/',
'UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.vpsserver.com',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.vpsserver.com/help/category/5/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/help/category/5/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'Z4AxY1R0yhDwd7g8T5dd3wAAADM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1736454499.0461,
'REQUEST_TIME' => (int) 1736454499,
'argv' => [
],
'argc' => (int) 0,
'DEBUG' => 'true',
'APP_URL' => 'https://www.vpsserver.com',
'COMPANY_URLS_FRONTEND' => 'www.vpsserver.com',
'DATABASE_MYSQL_HOST' => '10.10.5.7',
'DATABASE_MYSQL_USERNAME' => 'root',
'DATABASE_MYSQL_PASSWORD' => 'naJus27MawEP',
'DATABASE_MYSQL_DATABASE' => 'vpsserver',
'DATABASE_MYSQL_CACHE_METADATA' => 'true',
'MEMCACHE_SERVERS' => '127.0.0.1:11211',
'MEMCACHE_DURATION' => '+30 days',
'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],
],
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #255
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 => object(Cake\Http\Session\CacheSession) id:7 {
}
protected _started => true
protected _lifetime => (int) 14400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:8 {
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
}
object(App\Application) id:0 {
protected subDomainPlugins => [
'service' => 'ServicePage',
'api' => 'Api',
]
protected configDir => '/home/vpsserver/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => object(Cms\Controller\ContentPagesController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
'Authentication.afterIdentify' => '1 listener(s)',
'Authentication.failedLogin' => '1 listener(s)',
'Users.changeOrderItemLimit' => '1 listener(s)',
'Users.changeApiRateLimit' => '1 listener(s)',
'AdditionalProduct.ordered' => '1 listener(s)',
'AdditionalProduct.cancelled' => '1 listener(s)',
'Controller.initialize' => '1 listener(s)',
]
'_isGlobal' => true
'_trackEvents' => true
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => [
(int) 0 => 'Model.initialize with subject App\Model\Table\UsersTable',
(int) 1 => 'Application.buildContainer with subject App\Application',
(int) 2 => 'Server.buildMiddleware with subject Cake\Http\Server',
(int) 3 => 'Model.initialize with subject App\Model\Table\CompaniesTable',
(int) 4 => 'Controller.initialize with subject Cms\Controller\ContentPagesController',
(int) 5 => 'Controller.startup with subject Cms\Controller\ContentPagesController',
(int) 6 => 'Model.initialize with subject Cms\Model\Table\ContentPagesTable',
(int) 7 => 'Model.initialize with subject App\Model\Table\MetadataTable',
(int) 8 => 'Model.initialize with subject Cms\Model\Table\AuthorsTable',
(int) 9 => 'Model.initialize with subject Cms\Model\Table\UploadsTable',
(int) 10 => 'Model.initialize with subject Cms\Model\Table\ContentPageScriptsTable',
(int) 11 => 'Model.initialize with subject Cms\Model\Table\ContentPagesTable',
(int) 12 => 'Model.initialize with subject App\Model\Table\LanguagesTable',
(int) 13 => 'Model.initialize with subject App\Model\Table\FaqContentPagesTable',
(int) 14 => 'Model.initialize with subject Cms\Model\Table\ContentPageCategoriesTable',
(int) 15 => 'Model.initialize with subject Cms\Model\Table\ContentPageCategoriesTable',
(int) 16 => 'Model.initialize with subject Cms\Model\Table\ContentPageLayoutsTable',
(int) 17 => 'Model.beforeFind with subject Cms\Model\Table\ContentPagesTable',
(int) 18 => 'Model.beforeFind with subject App\Model\Table\MetadataTable',
(int) 19 => 'Model.beforeFind with subject Cms\Model\Table\AuthorsTable',
(int) 20 => 'Model.beforeFind with subject Cms\Model\Table\UploadsTable',
(int) 21 => 'Model.beforeFind with subject Cms\Model\Table\ContentPagesTable',
(int) 22 => 'Model.beforeFind with subject Cms\Model\Table\ContentPageCategoriesTable',
(int) 23 => 'Model.beforeFind with subject Cms\Model\Table\ContentPageLayoutsTable',
(int) 24 => 'Model.beforeFind with subject App\Model\Table\LanguagesTable',
(int) 25 => 'Model.beforeFind with subject Cms\Model\Table\ContentPageCategoriesTable',
(int) 26 => 'Model.beforeFind with subject App\Model\Table\MetadataTable',
(int) 27 => 'Model.beforeFind with subject Cms\Model\Table\AuthorsTable',
(int) 28 => 'Model.beforeFind with subject App\Model\Table\MetadataTable',
(int) 29 => 'Model.beforeFind with subject Cms\Model\Table\UploadsTable',
(int) 30 => 'Model.initialize with subject Cms\Model\Table\ContentItemsTable',
(int) 31 => 'Model.beforeFind with subject Cms\Model\Table\ContentItemsTable',
(int) 32 => 'Exception.beforeRender with subject Cake\Error\ExceptionTrap',
(int) 33 => 'Controller.initialize with subject Cake\Controller\ErrorController',
(int) 34 => 'Controller.startup with subject Cake\Controller\ErrorController',
(int) 35 => 'Controller.beforeRender with subject Cake\Controller\ErrorController',
(int) 36 => 'Controller.beforeRender with subject Cake\Controller\ErrorController',
(int) 37 => 'View.beforeRender with subject App\View\AppView',
(int) 38 => 'View.beforeRenderFile with subject App\View\AppView',
(int) 39 => 'View.beforeRenderFile with subject App\View\AppView',
(int) 40 => 'View.afterRenderFile with subject App\View\AppView',
(int) 41 => 'View.afterRenderFile with subject App\View\AppView',
(int) 42 => 'View.afterRender with subject App\View\AppView',
(int) 43 => 'View.beforeLayout with subject App\View\AppView',
(int) 44 => 'View.beforeRenderFile with subject App\View\AppView',
(int) 45 => 'View.beforeRenderFile with subject App\View\AppView',
]
}
protected _eventClass => 'Cake\Event\Event'
}
-
|
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
Toggle Arguments
-
If you want to customize this error message, create
templates/Error/error500.ctp