|
[$config['schema'], $name] = explode('.', $name); |
|
} |
|
$table = $this->_connection->getDriver()->newTableSchema($name); |
|
|
|
$this->_reflect('Column', $name, $config, $table); |
|
if (count($table->columns()) === 0) { |
|
throw new DatabaseException(sprintf('Cannot describe %s. It has 0 columns.', $name)); |
|
} |
|
|
Arguments
[
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'host' => 'localhost',
'username' => 'beta711_piabba',
'password' => 'QeM;cV-aY1w%S9@',
'database' => 'beta711_pm_portal',
'url' => null,
'name' => 'default',
]
object(Cake\Database\Schema\TableSchema) id:0 {
'table' => 'legislacoes'
'columns' => [
]
'indexes' => [
]
'constraints' => [
]
'options' => [
]
'typeMap' => [
]
'temporary' => false
}
|
return $cached; |
|
} |
|
} |
|
|
|
$table = $this->collection->describe($name, $options); |
|
$this->cacher->set($cacheKey, $table); |
|
|
|
return $table; |
|
} |
Arguments
[
'forceRefresh' => false,
]
|
if ($this->_schema === null) { |
|
$this->_schema = $this->_initializeSchema( |
|
$this->getConnection() |
|
->getSchemaCollection() |
|
->describe($this->getTable()) |
|
); |
|
if (Configure::read('debug')) { |
|
$this->checkAliasLengths(); |
|
} |
|
*/ |
|
public function addDefaultTypes(Table $table) |
|
{ |
|
$alias = $table->getAlias(); |
|
$map = $table->getSchema()->typeMap(); |
|
$fields = []; |
|
foreach ($map as $f => $type) { |
|
$fields[$f] = $fields[$alias . '.' . $f] = $fields[$alias . '__' . $f] = $type; |
|
} |
|
parent::__construct($connection); |
|
$this->repository($table); |
|
|
|
if ($this->_repository !== null) { |
|
$this->addDefaultTypes($this->_repository); |
|
} |
|
} |
|
|
|
/** |
Arguments
object(App\Model\Table\LegislacoesTable) id:0 {
'registryAlias' => 'Legislacoes'
'table' => 'legislacoes'
'alias' => 'Legislacoes'
'entityClass' => 'App\Model\Entity\Legislacao'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
|
* @return \Cake\ORM\Query |
|
*/ |
|
public function query(): Query |
|
{ |
|
return new Query($this->getConnection(), $this); |
|
} |
|
|
|
/** |
|
* Creates a new Query::subquery() instance for a table. |
Arguments
object(Cake\Database\Connection) id:0 {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'name' => 'default',
]
'driver' => object(Cake\Database\Driver\Mysql) id:1 {
'connected' => true
}
'transactionLevel' => (int) 0
'transactionStarted' => false
'useSavePoints' => false
'logQueries' => false
'logger' => null
}
object(App\Model\Table\LegislacoesTable) id:0 {
'registryAlias' => 'Legislacoes'
'table' => 'legislacoes'
'alias' => 'Legislacoes'
'entityClass' => 'App\Model\Entity\Legislacao'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
|
* @return \Cake\ORM\Query The query builder |
|
*/ |
|
public function find(string $type = 'all', array $options = []): Query |
|
{ |
|
return $this->callFinder($type, $this->query()->select(), $options); |
|
} |
|
|
|
/** |
|
* Returns the query as passed. |
|
|
|
public function legislacao() { |
|
|
|
$this->loadModel('Legislacoes'); |
|
$legislacoes = $this->Legislacoes->find('all')->contain(['LegislacoesCategorias']) ->where(['LegislacoesCategorias.nome LIKE'=>"%Regulamentação da LAI%"]); |
|
|
|
$this->set(['legislacoes' => $this->paginate($legislacoes)]); |
|
} |
|
|
|
* @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.', |
|
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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
}
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Arguments
object(Esic\Controller\PagesController) id:0 {
paginate => [
]
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) id:1 {
'components' => [
]
'implementedEvents' => [
'Controller.startup' => 'startup',
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
'checkHttpCache' => true,
'viewClassMap' => [
'' => [maximum depth reached],
],
]
}
Flash => object(Cake\Controller\Component\FlashComponent) id:2 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'key' => 'flash',
'element' => 'default',
'plugin' => null,
'params' => [
'' => [maximum depth reached],
],
'clear' => false,
'duplicate' => true,
]
}
Authentication => object(Authentication\Controller\Component\AuthenticationComponent) id:3 {
'components' => [
]
'implementedEvents' => [
'Controller.initialize' => 'beforeFilter',
'Controller.startup' => 'startup',
]
'_config' => [
'logoutRedirect' => [
'' => [maximum depth reached],
],
'requireIdentity' => false,
'identityAttribute' => 'identity',
'identityCheckEvent' => 'Controller.startup',
'unauthenticatedMessage' => null,
'load' => true,
'loginRedirect' => [
'' => [maximum depth reached],
],
'loginAction' => [
'' => [maximum depth reached],
],
]
}
Legislacoes => object(App\Model\Table\LegislacoesTable) id:4 {
'registryAlias' => 'Legislacoes'
'table' => 'legislacoes'
'alias' => 'Legislacoes'
'entityClass' => 'App\Model\Entity\Legislacao'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected name => 'Pages'
protected request => object(Cake\Http\ServerRequest) id:5 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:6 {
}
protected uri => object(Cake\Http\Uri) id:7 {
}
protected session => object(Cake\Http\Session) id:8 {
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
}
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:10 {
'status' => (int) 302
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
'Location' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:11 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => false
protected _components => object(Cake\Controller\ComponentRegistry) id:12 {
'_loaded' => [
(int) 0 => 'RequestHandler',
(int) 1 => 'Flash',
(int) 2 => 'Authentication',
]
'_Controller' => object(Esic\Controller\PagesController) id: 0 {}
'_eventManager' => object(Cake\Event\EventManager) id:13 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => 'Esic'
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 13 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Esic.Pages'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:14 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => false
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'Esic.Pages'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 14 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => object(Cake\View\ViewBuilder) id:15 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => null
protected _layout => 'padrao-esic'
protected _autoLayout => true
protected _layoutPath => null
protected _name => null
protected _className => null
protected _options => [
'' => [maximum depth reached],
]
protected _helpers => [
'' => [maximum depth reached],
]
protected _vars => [
'' => [maximum depth reached],
]
}
}
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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
}
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $this->getConfig('unauthorizedHandler')); |
|
} |
|
|
|
return $handler->handle($request); |
|
} |
|
} |
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
$request = $request->withAttribute($attribute, $identity); |
|
} |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
|
|
if ($this->getConfig('requireAuthorizationCheck') && !$service->authorizationChecked()) { |
|
throw new AuthorizationRequiredException(['url' => $request->getRequestTarget()]); |
|
} |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
$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()); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
]
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
]
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) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
]
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
]
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) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
*/ |
|
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])) { |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
$cacheKey = CacheKey::generate($url, $this->getConfig('prefix'), $this->getConfig('keyGenerator')); |
|
$fileContent = $this->getContent($url, $cacheKey); |
|
|
|
if ($fileContent === null) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$cacheContent = $this->extractCacheContent($fileContent); |
|
$cacheInfo = $this->extractCacheInfo($cacheContent); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 10
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
(int) 3 => object(Cake\Routing\Middleware\AssetMiddleware) id:4 {
},
(int) 4 => object(Cache\Routing\Middleware\CacheMiddleware) id:5 {
},
(int) 5 => object(Cake\Http\Middleware\BodyParserMiddleware) id:6 {
},
(int) 6 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:7 {
},
(int) 7 => object(Authentication\Middleware\AuthenticationMiddleware) id:8 {
},
(int) 8 => object(Authorization\Middleware\AuthorizationMiddleware) id:9 {
},
(int) 9 => object(Authorization\Middleware\RequestAuthorizationMiddleware) id:10 {
},
]
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/beta711/public_html/transparencia/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(Esic\Controller\PagesController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
|
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
|
$connection = $this->_driver->getConnection(); |
|
|
|
try { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, $this->_bufferResults); |
|
$result = $this->_statement->execute($params); |
|
} finally { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true); |
|
} |
|
|
|
$statement = $this->prepare($sql); |
|
if (!empty($params)) { |
|
$statement->bind($params, $types); |
|
} |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
|
} |
|
{ |
|
$this->numRetries = 0; |
|
while (true) { |
|
try { |
|
return $action(); |
|
} catch (Exception $e) { |
|
if ( |
|
$this->numRetries < $this->maxRetries && |
|
$this->strategy->shouldRetry($e, $this->numRetries) |
|
} |
|
$statement->execute(); |
|
|
|
return $statement; |
|
}); |
|
} |
|
|
|
/** |
|
* Compiles a Query object into a SQL string according to the dialect for this |
|
if (empty($sql)) { |
|
return; |
|
} |
|
try { |
|
$statement = $this->_connection->execute($sql, $params); |
|
} catch (PDOException $e) { |
|
throw new DatabaseException($e->getMessage(), 500, $e); |
|
} |
|
/** @psalm-suppress PossiblyFalseIterator */ |
Arguments
'SHOW FULL COLUMNS FROM `legislacoes`'
|
[$config['schema'], $name] = explode('.', $name); |
|
} |
|
$table = $this->_connection->getDriver()->newTableSchema($name); |
|
|
|
$this->_reflect('Column', $name, $config, $table); |
|
if (count($table->columns()) === 0) { |
|
throw new DatabaseException(sprintf('Cannot describe %s. It has 0 columns.', $name)); |
|
} |
|
|
Arguments
[
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'host' => 'localhost',
'username' => 'beta711_piabba',
'password' => 'QeM;cV-aY1w%S9@',
'database' => 'beta711_pm_portal',
'url' => null,
'name' => 'default',
]
object(Cake\Database\Schema\TableSchema) id:0 {
'table' => 'legislacoes'
'columns' => [
]
'indexes' => [
]
'constraints' => [
]
'options' => [
]
'typeMap' => [
]
'temporary' => false
}
|
return $cached; |
|
} |
|
} |
|
|
|
$table = $this->collection->describe($name, $options); |
|
$this->cacher->set($cacheKey, $table); |
|
|
|
return $table; |
|
} |
Arguments
[
'forceRefresh' => false,
]
|
if ($this->_schema === null) { |
|
$this->_schema = $this->_initializeSchema( |
|
$this->getConnection() |
|
->getSchemaCollection() |
|
->describe($this->getTable()) |
|
); |
|
if (Configure::read('debug')) { |
|
$this->checkAliasLengths(); |
|
} |
|
*/ |
|
public function addDefaultTypes(Table $table) |
|
{ |
|
$alias = $table->getAlias(); |
|
$map = $table->getSchema()->typeMap(); |
|
$fields = []; |
|
foreach ($map as $f => $type) { |
|
$fields[$f] = $fields[$alias . '.' . $f] = $fields[$alias . '__' . $f] = $type; |
|
} |
|
parent::__construct($connection); |
|
$this->repository($table); |
|
|
|
if ($this->_repository !== null) { |
|
$this->addDefaultTypes($this->_repository); |
|
} |
|
} |
|
|
|
/** |
Arguments
object(App\Model\Table\LegislacoesTable) id:0 {
'registryAlias' => 'Legislacoes'
'table' => 'legislacoes'
'alias' => 'Legislacoes'
'entityClass' => 'App\Model\Entity\Legislacao'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
|
* @return \Cake\ORM\Query |
|
*/ |
|
public function query(): Query |
|
{ |
|
return new Query($this->getConnection(), $this); |
|
} |
|
|
|
/** |
|
* Creates a new Query::subquery() instance for a table. |
Arguments
object(Cake\Database\Connection) id:0 {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'timezone' => 'UTC',
'flags' => [
],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'name' => 'default',
]
'driver' => object(Cake\Database\Driver\Mysql) id:1 {
'connected' => true
}
'transactionLevel' => (int) 0
'transactionStarted' => false
'useSavePoints' => false
'logQueries' => false
'logger' => null
}
object(App\Model\Table\LegislacoesTable) id:0 {
'registryAlias' => 'Legislacoes'
'table' => 'legislacoes'
'alias' => 'Legislacoes'
'entityClass' => 'App\Model\Entity\Legislacao'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
|
* @return \Cake\ORM\Query The query builder |
|
*/ |
|
public function find(string $type = 'all', array $options = []): Query |
|
{ |
|
return $this->callFinder($type, $this->query()->select(), $options); |
|
} |
|
|
|
/** |
|
* Returns the query as passed. |
|
|
|
public function legislacao() { |
|
|
|
$this->loadModel('Legislacoes'); |
|
$legislacoes = $this->Legislacoes->find('all')->contain(['LegislacoesCategorias']) ->where(['LegislacoesCategorias.nome LIKE'=>"%Regulamentação da LAI%"]); |
|
|
|
$this->set(['legislacoes' => $this->paginate($legislacoes)]); |
|
} |
|
|
|
* @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.', |
|
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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
}
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Arguments
object(Esic\Controller\PagesController) id:0 {
paginate => [
]
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) id:1 {
'components' => [
]
'implementedEvents' => [
'Controller.startup' => 'startup',
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
'checkHttpCache' => true,
'viewClassMap' => [
'' => [maximum depth reached],
],
]
}
Flash => object(Cake\Controller\Component\FlashComponent) id:2 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'key' => 'flash',
'element' => 'default',
'plugin' => null,
'params' => [
'' => [maximum depth reached],
],
'clear' => false,
'duplicate' => true,
]
}
Authentication => object(Authentication\Controller\Component\AuthenticationComponent) id:3 {
'components' => [
]
'implementedEvents' => [
'Controller.initialize' => 'beforeFilter',
'Controller.startup' => 'startup',
]
'_config' => [
'logoutRedirect' => [
'' => [maximum depth reached],
],
'requireIdentity' => false,
'identityAttribute' => 'identity',
'identityCheckEvent' => 'Controller.startup',
'unauthenticatedMessage' => null,
'load' => true,
'loginRedirect' => [
'' => [maximum depth reached],
],
'loginAction' => [
'' => [maximum depth reached],
],
]
}
Legislacoes => object(App\Model\Table\LegislacoesTable) id:4 {
'registryAlias' => 'Legislacoes'
'table' => 'legislacoes'
'alias' => 'Legislacoes'
'entityClass' => 'App\Model\Entity\Legislacao'
'associations' => [
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected name => 'Pages'
protected request => object(Cake\Http\ServerRequest) id:5 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:6 {
}
protected uri => object(Cake\Http\Uri) id:7 {
}
protected session => object(Cake\Http\Session) id:8 {
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
}
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:10 {
'status' => (int) 302
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
'Location' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:11 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => false
protected _components => object(Cake\Controller\ComponentRegistry) id:12 {
'_loaded' => [
(int) 0 => 'RequestHandler',
(int) 1 => 'Flash',
(int) 2 => 'Authentication',
]
'_Controller' => object(Esic\Controller\PagesController) id: 0 {}
'_eventManager' => object(Cake\Event\EventManager) id:13 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => 'Esic'
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 13 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Esic.Pages'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:14 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => false
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'Esic.Pages'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 14 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => object(Cake\View\ViewBuilder) id:15 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => null
protected _layout => 'padrao-esic'
protected _autoLayout => true
protected _layoutPath => null
protected _name => null
protected _className => null
protected _options => [
'' => [maximum depth reached],
]
protected _helpers => [
'' => [maximum depth reached],
]
protected _vars => [
'' => [maximum depth reached],
]
}
}
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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
}
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $this->getConfig('unauthorizedHandler')); |
|
} |
|
|
|
return $handler->handle($request); |
|
} |
|
} |
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
$request = $request->withAttribute($attribute, $identity); |
|
} |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
|
|
if ($this->getConfig('requireAuthorizationCheck') && !$service->authorizationChecked()) { |
|
throw new AuthorizationRequiredException(['url' => $request->getRequestTarget()]); |
|
} |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
'authorization' => object(Authorization\AuthorizationService) 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) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
$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()); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
]
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
'identity' => null,
'authentication' => object(CakeDC\Auth\Authentication\AuthenticationService) id:9 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:10 {
},
]
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) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
]
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
'csrfToken' => '7X1ERr+1+KM1gB8u6FOpLA/c9AkkAd5S+ezBCVMH5mOP9dYWcinAHjZyXtwaT1I7oJdp/WinwXgUgGoXvQ6wrp5FmPqVJi0PPLqVPRxl7zOc3aBvMTCDVurC5ycUS/UoBENv7n96Zl+R8gvFXpCnGg==',
]
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) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
*/ |
|
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])) { |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
$cacheKey = CacheKey::generate($url, $this->getConfig('prefix'), $this->getConfig('keyGenerator')); |
|
$fileContent = $this->getContent($url, $cacheKey); |
|
|
|
if ($fileContent === null) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$cacheContent = $this->extractCacheContent($fileContent); |
|
$cacheInfo = $this->extractCacheInfo($cacheContent); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Pages',
'action' => 'legislacao',
'pass' => [
],
'plugin' => 'Esic',
'_matchedRoute' => '/esic/{controller}/{action}/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
'get' => true,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:8 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
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); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/beta711/public_html/transparencia/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 10
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
(int) 3 => object(Cake\Routing\Middleware\AssetMiddleware) id:4 {
},
(int) 4 => object(Cache\Routing\Middleware\CacheMiddleware) id:5 {
},
(int) 5 => object(Cake\Http\Middleware\BodyParserMiddleware) id:6 {
},
(int) 6 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:7 {
},
(int) 7 => object(Authentication\Middleware\AuthenticationMiddleware) id:8 {
},
(int) 8 => object(Authorization\Middleware\AuthorizationMiddleware) id:9 {
},
(int) 9 => object(Authorization\Middleware\RequestAuthorizationMiddleware) id:10 {
},
]
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'CONTEXT_DOCUMENT_ROOT' => '/home/beta711/public_html',
'CONTEXT_PREFIX' => '',
'DOCUMENT_ROOT' => '/home/beta711/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'betania.pe.gov.br',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'PATH' => '/bin:/usr/bin',
'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:.',
'QUERY_STRING' => '',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'REDIRECT_SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'REDIRECT_SSL_TLS_SNI' => 'betania.pe.gov.br',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'REDIRECT_URL' => '/transparencia/webroot/esic/pages/legislacao',
'REMOTE_ADDR' => '54.172.169.199',
'REMOTE_PORT' => '39376',
'REQUEST_METHOD' => 'GET',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/transparencia/esic/pages/legislacao',
'SCRIPT_FILENAME' => '/home/beta711/public_html/transparencia/webroot/index.php',
'SCRIPT_NAME' => '/transparencia/webroot/index.php',
'SCRIPT_URI' => 'https://betania.pe.gov.br/transparencia/esic/pages/legislacao',
'SCRIPT_URL' => '/transparencia/esic/pages/legislacao',
'SERVER_ADDR' => '162.241.171.244',
'SERVER_ADMIN' => 'webmaster@betania.pe.gov.br',
'SERVER_NAME' => 'betania.pe.gov.br',
'SERVER_PORT' => '443',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SSL_TLS_SNI' => 'betania.pe.gov.br',
'TZ' => 'America/Sao_Paulo',
'UNIQUE_ID' => 'ZfluLSnoyo9eAE3leikA4wAAARU',
'PHP_SELF' => '/transparencia/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1710845485.3041,
'REQUEST_TIME' => (int) 1710845485,
'argv' => [
],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => '/transparencia'
protected webroot => '/transparencia/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #372
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Cake\Http\Uri) id:4 {
private base => '/transparencia'
private webroot => '/transparencia/'
private uri => object(Laminas\Diactoros\Uri) id:5 {
}
}
protected session => object(Cake\Http\Session) id:6 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:7 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 6 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/beta711/public_html/transparencia/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(Esic\Controller\PagesController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
|
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
If you want to customize this error message, create
templates/Error/error500.php