Thần Ma Thiên Tôn - Truyện Full Của Tác Giả Cửu Đương Gia​

/www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Client.php toggle arguments
* @return \Cake\Http\Client\Response
*/
protected function _sendRequest(Request $request, $options)
{
$responses = $this->_adapter->send($request, $options);
$url = $request->getUri();
foreach ($responses as $response) {
$this->_cookies = $this->_cookies->addFromResponse($response, $request);
}
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Client.php toggle arguments
unset($options['redirect']);
}
do {
$response = $this->_sendRequest($request, $options);
$handleRedirect = $response->isRedirect() && $redirects-- > 0;
if ($handleRedirect) {
$url = $request->getUri();
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Client.php toggle arguments
$data,
$options
);
return $this->send($request, $options);
}
/**
* Does a recursive merge of the parameter with the scope config.
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Client.php toggle arguments
}
$url = $this->buildUrl($url, $data, $options);
return $this->_doRequest(
Request::METHOD_GET,
$url,
$body,
$options
);
No arguments /www/wwwroot/doctruyenchu.vn/config/functions.php toggle arguments
function callApiService($url, $params = []) {
$client = new Client();
$response = $client->get($url, array_merge($params, ['client' => 'doctruyenchu_vn']), [
'redirect' => 3,
'timeout' => 30,
'auth' => [
'username' => 'authuser',
'password' => 'Sangit@89'
No arguments /www/wwwroot/doctruyenchu.vn/src/Controller/AppController.php toggle arguments
$this->set('types', $types['data']);
$this->set('post_categories', $post_categories);
if (($hot_in_day = Cache::read('hot_in_day', '1day')) === false) {
$hot_in_day = callApiService(GET_HOT_IN_DAY_STORIES);
Cache::write('hot_in_day', $hot_in_day, '1day');
}
$this->set('hot_in_day', $hot_in_day['data']);
No arguments /www/wwwroot/doctruyenchu.vn/src/Controller/AppController.php toggle arguments
$this->_AuthenticateCookieUser();
if (!$this->getRequest()->getParam('prefix'))
$this->default_data();
}
protected function default_data()
{
No arguments /www/wwwroot/doctruyenchu.vn/src/Controller/StoriesController.php toggle arguments
{
public function initialize()
{
parent::initialize();
$this->Auth->allow();
}
public function isAuthorized()
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Controller/Controller.php toggle arguments
if ($components !== null) {
$this->components($components);
}
$this->initialize();
$this->_mergeControllerVars();
$this->_loadComponents();
$this->getEventManager()->on($this);
No arguments [internal function] toggle arguments No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/ControllerFactory.php toggle arguments
$this->missingController($request);
}
/** @var \Cake\Controller\Controller $controller */
$controller = $reflection->newInstance($request, $response);
return $controller;
}
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php toggle arguments
// event handler if there is one.
if ($beforeEvent->getData('controller') instanceof Controller) {
$controller = $beforeEvent->getData('controller');
} else {
$controller = $this->factory->create($request, $response);
}
$response = $this->_invoke($controller);
if ($request->getParam('return')) {
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/BaseApplication.php toggle arguments
* @return \Psr\Http\Message\ResponseInterface
*/
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next)
{
return $this->getDispatcher()->dispatch($request, $response);
}
/**
* Get the ActionDispatcher.
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments
$next = $this->middleware->get($this->index);
if ($next) {
$this->index++;
return $next($request, $response, $this);
}
// End of the queue
return $response;
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments
$next = $this->middleware->get($this->index);
if ($next) {
$this->index++;
return $next($request, $response, $this);
}
// End of the queue
return $response;
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php toggle arguments
$token = $this->_createToken();
$request = $this->_addTokenToRequest($token, $request);
$response = $this->_addTokenCookie($token, $request, $response);
return $next($request, $response);
}
$request = $this->_validateAndUnsetTokenField($request);
return $next($request, $response);
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments
$next = $this->middleware->get($this->index);
if ($next) {
$this->index++;
return $next($request, $response, $this);
}
// End of the queue
return $response;
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments
{
$this->middleware = $middleware;
$this->index = 0;
return $this->__invoke($request, $response);
}
/**
* @param \Psr\Http\Message\ServerRequestInterface $request The server request
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php toggle arguments
$matching[] = $next;
$middleware = new MiddlewareQueue($matching);
$runner = new Runner();
return $runner->run($middleware, $request, $response);
}
}
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments
$next = $this->middleware->get($this->index);
if ($next) {
$this->index++;
return $next($request, $response, $this);
}
// End of the queue
return $response;
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php toggle arguments
public function __invoke($request, $response, $next)
{
$url = $request->getUri()->getPath();
if (strpos($url, '..') !== false || strpos($url, '.') === false) {
return $next($request, $response);
}
if (strpos($url, '/.') !== false) {
return $next($request, $response);
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments
$next = $this->middleware->get($this->index);
if ($next) {
$this->index++;
return $next($request, $response, $this);
}
// End of the queue
return $response;
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php toggle arguments
*/
public function __invoke($request, $response, $next)
{
try {
return $next($request, $response);
} catch (Throwable $exception) {
return $this->handleException($exception, $request, $response);
} catch (Exception $exception) {
return $this->handleException($exception, $request, $response);
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments
$next = $this->middleware->get($this->index);
if ($next) {
$this->index++;
return $next($request, $response, $this);
}
// End of the queue
return $response;
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments
{
$this->middleware = $middleware;
$this->index = 0;
return $this->__invoke($request, $response);
}
/**
* @param \Psr\Http\Message\ServerRequestInterface $request The server request
No arguments /www/wwwroot/doctruyenchu.vn/vendor/cakephp/cakephp/src/Http/Server.php toggle arguments
}
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]);
$middleware->add($this->app);
$response = $this->runner->run($middleware, $request, $response);
if (!($response instanceof ResponseInterface)) {
throw new RuntimeException(sprintf(
'Application did not create a response. Got "%s" instead.',
No arguments /www/wwwroot/doctruyenchu.vn/webroot/index.php toggle arguments
// 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());
No arguments

If you want to customize this error message, create src/Template/Error/error500.ctp

toggle vendor stack frames
  • ⟩ Cake\Http\Client\Adapter\Curl->send CORE/src/Http/Client.php, line 448
  • ⟩ Cake\Http\Client->_sendRequest CORE/src/Http/Client.php, line 418
  • ⟩ Cake\Http\Client->send CORE/src/Http/Client.php, line 385
  • ⟩ Cake\Http\Client->_doRequest CORE/src/Http/Client.php, line 248
  • ⟩ Cake\Http\Client->get ROOT/config/functions.php, line 257
  • ⟩ callApiService APP/Controller/AppController.php, line 103
  • ⟩ App\Controller\AppController->default_data APP/Controller/AppController.php, line 80
  • ⟩ App\Controller\AppController->initialize APP/Controller/StoriesController.php, line 34
  • ⟩ App\Controller\StoriesController->initialize CORE/src/Controller/Controller.php, line 272
  • ⟩ Cake\Controller\Controller->__construct [internal function]
  • ⟩ ReflectionClass->newInstance CORE/src/Http/ControllerFactory.php, line 47
  • ⟩ Cake\Http\ControllerFactory->create CORE/src/Http/ActionDispatcher.php, line 91
  • ⟩ Cake\Http\ActionDispatcher->dispatch CORE/src/Http/BaseApplication.php, line 234
  • ⟩ Cake\Http\BaseApplication->__invoke CORE/src/Http/Runner.php, line 65
  • ⟩ Cake\Http\Runner->__invoke CORE/src/Http/Runner.php, line 65
  • ⟩ Cake\Http\Runner->__invoke CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 120
  • ⟩ Cake\Http\Middleware\CsrfProtectionMiddleware->__invoke CORE/src/Http/Runner.php, line 65
  • ⟩ Cake\Http\Runner->__invoke CORE/src/Http/Runner.php, line 51
  • ⟩ Cake\Http\Runner->run CORE/src/Routing/Middleware/RoutingMiddleware.php, line 170
  • ⟩ Cake\Routing\Middleware\RoutingMiddleware->__invoke CORE/src/Http/Runner.php, line 65
  • ⟩ Cake\Http\Runner->__invoke CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
  • ⟩ Cake\Routing\Middleware\AssetMiddleware->__invoke CORE/src/Http/Runner.php, line 65
  • ⟩ Cake\Http\Runner->__invoke CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96
  • ⟩ Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke CORE/src/Http/Runner.php, line 65
  • ⟩ Cake\Http\Runner->__invoke CORE/src/Http/Runner.php, line 51
  • ⟩ Cake\Http\Runner->run CORE/src/Http/Server.php, line 97
  • ⟩ Cake\Http\Server->run ROOT/webroot/index.php, line 40

Từ khóa » Thần Ma Thiên Sát