/home
/knvet
/public_html
/vendor
/laravel
/framework
/src
/Illuminate
/Filesystem
/Filesystem.php
*
* @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.
Arguments
"file_put_contents(): Only 0 of 219 bytes written, possibly out of free disk space"
/home
/knvet
/public_html
/vendor
/laravel
/framework
/src
/Illuminate
/Filesystem
/Filesystem.php
*
* @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.
Arguments
"/home/knvet/public_html/storage/framework/sessions/gma6d5ToziCQscrI38pIS0QEMQAJWDiMOmFbxQws"
"a:4:{s:6:"_token";s:40:"lXrBxgWyvUbJ300cg0tFvJ2wDeRk1x9EYaprUgcd";s:6:"locale";s:2:"en";s:9:"_previous";a:1:{s:3:"url";s:39:"http://kn-vet.com/index.php/en/1/albums";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
2
/home
/knvet
/public_html
/vendor
/laravel
/framework
/src
/Illuminate
/Session
/FileSessionHandler.php
/**
* {@inheritdoc}
*/
public function read($sessionId)
{
if ($this->files->exists($path = $this->path.'/'.$sessionId)) {
if (filemtime($path) >= Carbon::now()->subMinutes($this->minutes)->getTimestamp()) {
return $this->files->get($path, true);
}
}
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()
Arguments
"/home/knvet/public_html/storage/framework/sessions/gma6d5ToziCQscrI38pIS0QEMQAJWDiMOmFbxQws"
"a:4:{s:6:"_token";s:40:"lXrBxgWyvUbJ300cg0tFvJ2wDeRk1x9EYaprUgcd";s:6:"locale";s:2:"en";s:9:"_previous";a:1:{s:3:"url";s:39:"http://kn-vet.com/index.php/en/1/albums";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
true
/home
/knvet
/public_html
/vendor
/laravel
/framework
/src
/Illuminate
/Session
/Store.php
*
* @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
Arguments
"gma6d5ToziCQscrI38pIS0QEMQAJWDiMOmFbxQws"
"a:4:{s:6:"_token";s:40:"lXrBxgWyvUbJ300cg0tFvJ2wDeRk1x9EYaprUgcd";s:6:"locale";s:2:"en";s:9:"_previous";a:1:{s:3:"url";s:39:"http://kn-vet.com/index.php/en/1/albums";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
/home
/knvet
/public_html
/vendor
/laravel
/framework
/src
/Illuminate
/Session
/Middleware
/StartSession.php
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.
/home
/knvet
/public_html
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Kernel.php
* @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 [];
}
/**
Arguments
Request {
#json: null
#convertedFiles: null
#userResolver: Closure {
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider { …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application { …}
}
}
#routeResolver: Closure {
class: "Illuminate\Routing\Router"
this: Router { …}
use: {
$route: Route { …}
}
}
+attributes: ParameterBag {}
+request: ParameterBag {#1}
+query: ParameterBag {#1}
+server: ServerBag {}
+files: FileBag {}
+cookies: ParameterBag {}
+headers: HeaderBag {}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/1/albums"
#requestUri: "/index.php/en/1/albums"
#baseUrl: "/index.php"
#basePath: null
#method: "GET"
#format: null
#session: Store {}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Response {}
/home
/knvet
/public_html
/vendor
/laravel
/framework
/src
/Illuminate
/Foundation
/Http
/Kernel.php
*/
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)) {
Arguments
Request {
#json: null
#convertedFiles: null
#userResolver: Closure {
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider { …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application { …}
}
}
#routeResolver: Closure {
class: "Illuminate\Routing\Router"
this: Router { …}
use: {
$route: Route { …}
}
}
+attributes: ParameterBag {}
+request: ParameterBag {#1}
+query: ParameterBag {#1}
+server: ServerBag {}
+files: FileBag {}
+cookies: ParameterBag {}
+headers: HeaderBag {}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/1/albums"
#requestUri: "/index.php/en/1/albums"
#baseUrl: "/index.php"
#basePath: null
#method: "GET"
#format: null
#session: Store {}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Response {}
/home
/knvet
/public_html
/index.php
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request using
| the application's HTTP kernel. Then, we will send the response back
| to this client's browser, allowing them to enjoy our application.
|
*/
$app = require_once __DIR__.'/bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = tap($kernel->handle(
$request = Request::capture()
))->send();
$kernel->terminate($request, $response);
Arguments
Request {
#json: null
#convertedFiles: null
#userResolver: Closure {
class: "Illuminate\Auth\AuthServiceProvider"
this: AuthServiceProvider { …}
parameters: {
$guard: {
default: null
}
}
use: {
$app: Application { …}
}
}
#routeResolver: Closure {
class: "Illuminate\Routing\Router"
this: Router { …}
use: {
$route: Route { …}
}
}
+attributes: ParameterBag {}
+request: ParameterBag {#1}
+query: ParameterBag {#1}
+server: ServerBag {}
+files: FileBag {}
+cookies: ParameterBag {}
+headers: HeaderBag {}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/en/1/albums"
#requestUri: "/index.php/en/1/albums"
#baseUrl: "/index.php"
#basePath: null
#method: "GET"
#format: null
#session: Store {}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
basePath: ""
format: "html"
}
Response {}