* * @param string $path * @return string */ public function hash($path) { return md5_file($path); } /** * Write the contents of a file. * * @param string $path * @param string $contents * @param bool $lock * @return int */ public function put($path, $contents, $lock = false) { return file_put_contents($path, $contents, $lock ? LOCK_EX : 0); } /** * Prepend to a file. * * @param string $path * @param string $data * @return int */ public function prepend($path, $data) { if ($this->exists($path)) { return $this->put($path, $data.$this->get($path)); } return $this->put($path, $data); } /** * Append to a file.
"file_put_contents(/home/truongh5/www.baga.zone/storage/framework/sessions/tZkkyx4CGqoRjsAbUW2gsv8JIs0RvQjcornB0Ilm): failed to open stream: Disk quota exceeded"
* * @param string $path * @return string */ public function hash($path) { return md5_file($path); } /** * Write the contents of a file. * * @param string $path * @param string $contents * @param bool $lock * @return int */ public function put($path, $contents, $lock = false) { return file_put_contents($path, $contents, $lock ? LOCK_EX : 0); } /** * Prepend to a file. * * @param string $path * @param string $data * @return int */ public function prepend($path, $data) { if ($this->exists($path)) { return $this->put($path, $data.$this->get($path)); } return $this->put($path, $data); } /** * Append to a file.
"/home/truongh5/www.baga.zone/storage/framework/sessions/tZkkyx4CGqoRjsAbUW2gsv8JIs0RvQjcornB0Ilm"
"a:3:{s:6:"_token";s:40:"MoKiCBhEhdEWGXvEXNKDCxgMdnurv76HUWf8FDn7";s:9:"_previous";a:1:{s:3:"url";s:23:"//www.baga.zone";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
2
/** * {@inheritdoc} */ public function read($sessionId) { if ($this->files->isFile($path = $this->path.'/'.$sessionId)) { if ($this->files->lastModified($path) >= Carbon::now()->subMinutes($this->minutes)->getTimestamp()) { return $this->files->sharedGet($path); } } return ''; } /** * {@inheritdoc} */ public function write($sessionId, $data) { $this->files->put($this->path.'/'.$sessionId, $data, true); return true; } /** * {@inheritdoc} */ public function destroy($sessionId) { $this->files->delete($this->path.'/'.$sessionId); return true; } /** * {@inheritdoc} */ public function gc($lifetime) { $files = Finder::create()
"/home/truongh5/www.baga.zone/storage/framework/sessions/tZkkyx4CGqoRjsAbUW2gsv8JIs0RvQjcornB0Ilm"
"a:3:{s:6:"_token";s:40:"MoKiCBhEhdEWGXvEXNKDCxgMdnurv76HUWf8FDn7";s:9:"_previous";a:1:{s:3:"url";s:23:"//www.baga.zone";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
true
* * @param string $data * @return string */ protected function prepareForUnserialize($data) { return $data; } /** * Save the session data to storage. * * @return bool */ public function save() { $this->ageFlashData(); $this->handler->write($this->getId(), $this->prepareForStorage( serialize($this->attributes) )); $this->started = false; } /** * Prepare the serialized session data for storage. * * @param string $data * @return string */ protected function prepareForStorage($data) { return $data; } /** * Age the flash data for the session. * * @return void
"tZkkyx4CGqoRjsAbUW2gsv8JIs0RvQjcornB0Ilm"
"a:3:{s:6:"_token";s:40:"MoKiCBhEhdEWGXvEXNKDCxgMdnurv76HUWf8FDn7";s:9:"_previous";a:1:{s:3:"url";s:23:"//www.baga.zone";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
if ($this->sessionConfigured()) { $this->storeCurrentUrl($request, $session); $this->addCookieToResponse($response, $session); } return $response; } /** * Perform any final actions for the request lifecycle. * * @param \Illuminate\Http\Request $request * @param \Symfony\Component\HttpFoundation\Response $response * @return void */ public function terminate($request, $response) { if ($this->sessionHandled && $this->sessionConfigured() && ! $this->usingCookieSessions()) { $this->manager->driver()->save(); } } /** * Start the session for the given request. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Contracts\Session\Session */ protected function startSession(Request $request) { return tap($this->getSession($request), function ($session) use ($request) { $session->setRequestOnHandler($request); $session->start(); }); } /** * Get the session implementation from the manager.
* @return void */ protected function terminateMiddleware($request, $response) { $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge( $this->gatherRouteMiddleware($request), $this->middleware ); foreach ($middlewares as $middleware) { if (! is_string($middleware)) { continue; } list($name) = $this->parseMiddleware($middleware); $instance = $this->app->make($name); if (method_exists($instance, 'terminate')) { $instance->terminate($request, $response); } } } /** * Gather the route middleware for the given request. * * @param \Illuminate\Http\Request $request * @return array */ protected function gatherRouteMiddleware($request) { if ($route = $request->route()) { return $this->router->gatherRouteMiddleware($route); } return []; } /**
Request{#43#json:null#convertedFiles:null#userResolver:Closure{#284 : "Illuminate\Auth\AuthServiceProvider" :AuthServiceProvider{#42…} : { : { :null}} : { :Application{#2…}}} #routeResolver:Closure{#272 : "Illuminate\Routing\Router" :Router{#26…} : { :Route{#166…}}} +attributes:ParameterBag{#45} +request:ParameterBag{#51} +query:ParameterBag{#51} +server:ServerBag{#47} +files:FileBag{#48} +cookies:ParameterBag{#46} +headers:HeaderBag{#49} #content:null#languages:null#charsets:null#encodings:null#acceptableContentTypes:array:1[0=> "*/*"] #pathInfo: "/" #requestUri: "/" #baseUrl: "" #basePath:null#method: "GET" #format:null#session:Store{#337} #locale:null#defaultLocale: "en" -isHostValid:true-isForwardedValid:true : "" : "html"}
Response{#378}
*/ protected function dispatchToRouter() { return function ($request) { $this->app->instance('request', $request); return $this->router->dispatch($request); }; } /** * Call the terminate method on any terminable middleware. * * @param \Illuminate\Http\Request $request * @param \Illuminate\Http\Response $response * @return void */ public function terminate($request, $response) { $this->terminateMiddleware($request, $response); $this->app->terminate(); } /** * Call the terminate method on any terminable middleware. * * @param \Illuminate\Http\Request $request * @param \Illuminate\Http\Response $response * @return void */ protected function terminateMiddleware($request, $response) { $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge( $this->gatherRouteMiddleware($request), $this->middleware ); foreach ($middlewares as $middleware) { if (! is_string($middleware)) {
Request{#43#json:null#convertedFiles:null#userResolver:Closure{#284 : "Illuminate\Auth\AuthServiceProvider" :AuthServiceProvider{#42…} : { : { :null}} : { :Application{#2…}}} #routeResolver:Closure{#272 : "Illuminate\Routing\Router" :Router{#26…} : { :Route{#166…}}} +attributes:ParameterBag{#45} +request:ParameterBag{#51} +query:ParameterBag{#51} +server:ServerBag{#47} +files:FileBag{#48} +cookies:ParameterBag{#46} +headers:HeaderBag{#49} #content:null#languages:null#charsets:null#encodings:null#acceptableContentTypes:array:1[0=> "*/*"] #pathInfo: "/" #requestUri: "/" #baseUrl: "" #basePath:null#method: "GET" #format:null#session:Store{#337} #locale:null#defaultLocale: "en" -isHostValid:true-isForwardedValid:true : "" : "html"}
Response{#378}
|-------------------------------------------------------------------------- | Run The Application |-------------------------------------------------------------------------- | | Once we have the application, we can handle the incoming request | through the kernel, and send the associated response back to | the client's browser allowing them to enjoy the creative | and wonderful application we have prepared for them. | */ $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); $response = $kernel->handle( $request = Illuminate\Http\Request::capture() ); $response->send(); $kernel->terminate($request, $response);
Request{#43#json:null#convertedFiles:null#userResolver:Closure{#284 : "Illuminate\Auth\AuthServiceProvider" :AuthServiceProvider{#42…} : { : { :null}} : { :Application{#2…}}} #routeResolver:Closure{#272 : "Illuminate\Routing\Router" :Router{#26…} : { :Route{#166…}}} +attributes:ParameterBag{#45} +request:ParameterBag{#51} +query:ParameterBag{#51} +server:ServerBag{#47} +files:FileBag{#48} +cookies:ParameterBag{#46} +headers:HeaderBag{#49} #content:null#languages:null#charsets:null#encodings:null#acceptableContentTypes:array:1[0=> "*/*"] #pathInfo: "/" #requestUri: "/" #baseUrl: "" #basePath:null#method: "GET" #format:null#session:Store{#337} #locale:null#defaultLocale: "en" -isHostValid:true-isForwardedValid:true : "" : "html"}
Response{#378}
Key | Value |
PATH | "/usr/local/bin:/bin:/usr/bin" |
ORACLE_HOME | "/usr/lib/oracle/12.1/client64/lib" |
HTTP_ACCEPT | "*/*" |
HTTP_CONNECTION | "close" |
HTTP_HOST | "www.baga.zone" |
HTTP_USER_AGENT | "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36" |
DOCUMENT_ROOT | "/home/truongh5/www.baga.zone" |
REMOTE_ADDR | "104.200.164.138" |
REMOTE_PORT | "52462" |
SERVER_ADDR | "210.245.90.202" |
SERVER_NAME | "www.baga.zone" |
SERVER_ADMIN | "webmaster@logimech.truonghangkhong.com" |
SERVER_PORT | "443" |
REQUEST_SCHEME | "https" |
REQUEST_URI | "/" |
REDIRECT_URL | "/" |
REDIRECT_REQUEST_METHOD | "GET" |
HTTPS | "on" |
REDIRECT_STATUS | "200" |
SSL_PROTOCOL | "TLSv1.2" |
SSL_SESSION_ID | "1cbcee0b8450580d9157ce61f0bb7b963ab5ca893d25526d243e44d7246a64e1" |
SSL_CIPHER | "ECDHE-RSA-AES256-GCM-SHA384" |
SSL_CIPHER_USEKEYSIZE | "256" |
SSL_CIPHER_ALGKEYSIZE | "256" |
SCRIPT_FILENAME | "/home/truongh5/www.baga.zone/public/index.php" |
QUERY_STRING | "" |
SCRIPT_URI | "//www.baga.zone/" |
SCRIPT_URL | "/" |
SCRIPT_NAME | "/public/index.php" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SOFTWARE | "LiteSpeed" |
REQUEST_METHOD | "GET" |
X-LSCACHE | "on" |
PHP_SELF | "/public/index.php" |
REQUEST_TIME_FLOAT | 1719461611.9206 |
REQUEST_TIME | 1719461611 |
APP_NAME | "Laravel" |
APP_ENV | "local" |
APP_KEY | "base64:dlFxJhqcrgljiZJM8t09uep2qs8/EBUsGZMFuGrvzN4=" |
APP_DEBUG | "true" |
APP_URL | "http://localhost" |
LOG_CHANNEL | "stack" |
DB_CONNECTION | "mysql" |
DB_HOST | "127.0.0.1" |
DB_PORT | "3306" |
DB_DATABASE | "logimech" |
DB_USERNAME | "root" |
DB_PASSWORD | "" |
BROADCAST_DRIVER | "log" |
CACHE_DRIVER | "file" |
SESSION_DRIVER | "file" |
SESSION_LIFETIME | "120" |
QUEUE_DRIVER | "sync" |
REDIS_HOST | "127.0.0.1" |
REDIS_PASSWORD | "null" |
REDIS_PORT | "6379" |
MAIL_DRIVER | "smtp" |
MAIL_HOST | "smtp.mailtrap.io" |
MAIL_PORT | "2525" |
MAIL_USERNAME | "null" |
MAIL_PASSWORD | "null" |
MAIL_ENCRYPTION | "null" |
PUSHER_APP_ID | "" |
PUSHER_APP_KEY | "" |
PUSHER_APP_SECRET | "" |
PUSHER_APP_CLUSTER | "mt1" |
MIX_PUSHER_APP_KEY | "" |
MIX_PUSHER_APP_CLUSTER | "mt1" |
Key | Value |
PATH | "/usr/local/bin:/bin:/usr/bin" |
ORACLE_HOME | "/usr/lib/oracle/12.1/client64/lib" |
APP_NAME | "Laravel" |
APP_ENV | "local" |
APP_KEY | "base64:dlFxJhqcrgljiZJM8t09uep2qs8/EBUsGZMFuGrvzN4=" |
APP_DEBUG | "true" |
APP_URL | "http://localhost" |
LOG_CHANNEL | "stack" |
DB_CONNECTION | "mysql" |
DB_HOST | "127.0.0.1" |
DB_PORT | "3306" |
DB_DATABASE | "logimech" |
DB_USERNAME | "root" |
DB_PASSWORD | "" |
BROADCAST_DRIVER | "log" |
CACHE_DRIVER | "file" |
SESSION_DRIVER | "file" |
SESSION_LIFETIME | "120" |
QUEUE_DRIVER | "sync" |
REDIS_HOST | "127.0.0.1" |
REDIS_PASSWORD | "null" |
REDIS_PORT | "6379" |
MAIL_DRIVER | "smtp" |
MAIL_HOST | "smtp.mailtrap.io" |
MAIL_PORT | "2525" |
MAIL_USERNAME | "null" |
MAIL_PASSWORD | "null" |
MAIL_ENCRYPTION | "null" |
PUSHER_APP_ID | "" |
PUSHER_APP_KEY | "" |
PUSHER_APP_SECRET | "" |
PUSHER_APP_CLUSTER | "mt1" |
MIX_PUSHER_APP_KEY | "" |
MIX_PUSHER_APP_CLUSTER | "mt1" |