/**
* @return Response
*/
public function error()
{
$blade = new Blade($this->error, $this->cache);
return new Response($blade->make('404')->render(), Response::HTTP_NOT_FOUND, ['content-type' => 'text/html']);
}
/**
* @throws \Exception
*/
public function notExists()
{
throw new \Exception("blade not exists.");
}
}No arguments.
if ($this->export()) {
return (new AppSetting($this->container))->response();
}
$blade = new Blade($this->views, $this->cache, $this->container);
if ($blade->exists($this->path)) {
return new Response($blade->make($this->path)->render(), Response::HTTP_OK, ['content-type' => 'text/html']);
}
if ($blade->exists($this->path . '/index')) {
return $this->redirect($this->path . '/');
}
$this->notExists();
}
/**
* @return Response
*/
public function error()
{
$blade = new Blade($this->error, $this->cache);
return new Response($blade->make('404')->render(), Response::HTTP_NOT_FOUND, ['content-type' => 'text/html']);
}
/**
* @throws \Exception
*/
public function notExists()No arguments.
return new Route($this->container);
}, true);
}
protected function registerAuthenticator()
{
$this->container->singleton(\Illuminate\Contracts\Auth\Factory::class, function ($app) {
$app['auth.loaded'] = true;
return new Auth($app);
});
}
public function response()
{
try {
return $this->container['route']->response();
} catch (\Exception $exception) {
if ($this->container['app_config']['debug']) {
$this->container['trace']->handleException($exception);
}
return $this->container['route']->error();
}
}
}No arguments.
<?php require 'vendor/autoload.php'; use App\Application; (new Application())->response()->send();
No arguments.
/**
* @return Response
*/
public function error()
{
$blade = new Blade($this->error, $this->cache);
return new Response($blade->make('404')->render(), Response::HTTP_NOT_FOUND, ['content-type' => 'text/html']);
}
/**
* @throws \Exception
*/
public function notExists()
{
throw new \Exception("blade not exists.");
}
} No arguments.
if ($this->export()) {
return (new AppSetting($this->container))->response();
}
$blade = new Blade($this->views, $this->cache, $this->container);
if ($blade->exists($this->path)) {
return new Response($blade->make($this->path)->render(), Response::HTTP_OK, ['content-type' => 'text/html']);
}
if ($blade->exists($this->path . '/index')) {
return $this->redirect($this->path . '/');
}
$this->notExists();
}
/**
* @return Response
*/
public function error()
{
$blade = new Blade($this->error, $this->cache);
return new Response($blade->make('404')->render(), Response::HTTP_NOT_FOUND, ['content-type' => 'text/html']);
}
/**
* @throws \Exception
*/
public function notExists() No arguments.
return new Route($this->container);
}, true);
}
protected function registerAuthenticator()
{
$this->container->singleton(\Illuminate\Contracts\Auth\Factory::class, function ($app) {
$app['auth.loaded'] = true;
return new Auth($app);
});
}
public function response()
{
try {
return $this->container['route']->response();
} catch (\Exception $exception) {
if ($this->container['app_config']['debug']) {
$this->container['trace']->handleException($exception);
}
return $this->container['route']->error();
}
}
} No arguments.
<?php require 'vendor/autoload.php'; use App\Application; (new Application())->response()->send();
No arguments.
No data
No data
No data
| X-Https | 1 |
| Host | chimei-demo.weya.tw |
| Accept-Encoding | gzip, br, zstd, deflate |
| User-Agent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| Accept | */* |
| USER | chimeidemo |
| HOME | /home/chimeidemo |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /sitemap.xml |
| QUERY_STRING | |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/2.0 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_URL | /sitemap.xml |
| REMOTE_PORT | 55652 |
| SCRIPT_FILENAME | /home/chimeidemo/public_html/index.php |
| SERVER_ADMIN | webmaster@chimei-demo.weya.tw |
| CONTEXT_DOCUMENT_ROOT | /home/chimeidemo/public_html |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | https |
| DOCUMENT_ROOT | /home/chimeidemo/public_html |
| REMOTE_ADDR | 216.73.216.233 |
| SERVER_PORT | 443 |
| SERVER_ADDR | 103.1.221.101 |
| SERVER_NAME | chimei-demo.weya.tw |
| SERVER_SOFTWARE | Apache |
| SERVER_SIGNATURE | |
| PATH | /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin |
| HTTP_X_HTTPS | 1 |
| HTTP_HOST | chimei-demo.weya.tw |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| proxy-nokeepalive | 1 |
| H2_STREAM_TAG | 16849-1066-3 |
| H2_STREAM_ID | 3 |
| H2_PUSHED_ON | |
| H2_PUSHED | |
| H2_PUSH | off |
| H2PUSH | off |
| HTTP2 | on |
| SSL_TLS_SNI | chimei-demo.weya.tw |
| HTTPS | on |
| SCRIPT_URI | https://chimei-demo.weya.tw/sitemap.xml |
| SCRIPT_URL | /sitemap.xml |
| UNIQUE_ID | aiFQr8H_k2FqQebDIDihzAAAyws |
| REDIRECT_STATUS | 200 |
| REDIRECT_H2_STREAM_TAG | 16849-1066-3 |
| REDIRECT_H2_STREAM_ID | 3 |
| REDIRECT_H2_PUSHED_ON | |
| REDIRECT_H2_PUSHED | |
| REDIRECT_H2_PUSH | off |
| REDIRECT_H2PUSH | off |
| REDIRECT_HTTP2 | on |
| REDIRECT_SSL_TLS_SNI | chimei-demo.weya.tw |
| REDIRECT_HTTPS | on |
| REDIRECT_SCRIPT_URI | https://chimei-demo.weya.tw/sitemap.xml |
| REDIRECT_SCRIPT_URL | /sitemap.xml |
| REDIRECT_UNIQUE_ID | aiFQr8H_k2FqQebDIDihzAAAyws |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1780568239.6317 |
| REQUEST_TIME | 1780568239 |
| argv | [] |
| argc | 0 |