CHIMIE-BIOLOGIE - 2012
18 réussites
*
* @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);
}
/**
* Write the contents of a file, replacing it atomically if it already exists.
*
* @param string $path
* @param string $content
* @return void
*/
public function replace($path, $content)
{
// If the path already exists and is a symlink, get the real path...
clearstatcache(true, $path);
$path = realpath($path) ?: $path;
$tempPath = tempnam(dirname($path), basename($path));
// Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
chmod($tempPath, 0777 - umask());
"file_put_contents(/home/root.informagenie.com/exetatbot/storage/framework/sessions/FGRFzpzhHzE5gUYXYvBdniJVEOyszDuspgIIFe9c): failed to open stream: No space left on device"
*
* @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);
}
/**
* Write the contents of a file, replacing it atomically if it already exists.
*
* @param string $path
* @param string $content
* @return void
*/
public function replace($path, $content)
{
// If the path already exists and is a symlink, get the real path...
clearstatcache(true, $path);
$path = realpath($path) ?: $path;
$tempPath = tempnam(dirname($path), basename($path));
// Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
chmod($tempPath, 0777 - umask());
/**
* {@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()
*
* @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
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;
}
[$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 [];
}
/**
*/
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)) {
|--------------------------------------------------------------------------
| 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);
Key | Value |
ezosuibasgeneris-1 | "c8f54370-656e-4889-4d75-5472afabbf43"
|
active_template::112597 | "pub_site.1695699511"
|
Key | Value |
PATH | "/bin:/usr/bin"
|
HTTP_ACCEPT | "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
|
HTTP_ACCEPT_ENCODING | "gzip"
|
HTTP_ACCEPT_LANGUAGE | "en-US,en;q=0.5"
|
HTTP_CONNECTION | "close"
|
HTTP_COOKIE | "ezosuibasgeneris-1=c8f54370-656e-4889-4d75-5472afabbf43; active_template::112597=pub_site.1695699511"
|
HTTP_HOST | "exetatbot.exetat.info"
|
HTTP_USER_AGENT | "CCBot/2.0 (https://commoncrawl.org/faq/) X-Middleton/1"
|
HTTP_IF_MODIFIED_SINCE | "Sat, 01 Apr 2023 08:56:05 GMT"
|
HTTP_X_FORWARDED_FOR | "44.197.111.121, 172.70.43.8"
|
HTTP_CF_CONNECTING_IP | "44.197.111.121"
|
HTTP_CF_IPCOUNTRY | "US"
|
HTTP_CDN_LOOP | "cloudflare"
|
HTTP_CF_RAY | "80c87977dc593b60-IAD"
|
HTTP_CF_VISITOR | "{"scheme":"https"}"
|
HTTP_X_EZ_PROTO | "https"
|
HTTP_X_FORWARDED_PROTO | "https"
|
HTTP_X_MIDDLETON | "1"
|
HTTP_X_MIDDLETON_IP | "44.197.111.121"
|
HTTP_X_REAL_IP | "44.197.111.121"
|
HTTP_X_SNIPE | "44e19dc1-ffc9-4399-aed7-012300341c77"
|
DOCUMENT_ROOT | "/home/root.informagenie.com/exetatbot/public"
|
REMOTE_ADDR | "3.238.153.3"
|
REMOTE_PORT | "47290"
|
SERVER_ADDR | "161.97.179.77"
|
SERVER_NAME | "exetatbot.exetat.info"
|
SERVER_ADMIN | "[email protected]"
|
SERVER_PORT | "443"
|
REQUEST_URI | "/exetat-2012/8842-richard-komba-complexe-scolaire.html"
|
REDIRECT_URL | "/exetat-2012/8842-richard-komba-complexe-scolaire.html"
|
HTTPS | "on"
|
REDIRECT_STATUS | "200"
|
SSL_PROTOCOL | "TLSv1.3"
|
SSL_CIPHER | "TLS_AES_128_GCM_SHA256"
|
SSL_CIPHER_USEKEYSIZE | "128"
|
SSL_CIPHER_ALGKEYSIZE | "128"
|
LSWS_EDITION | "Openlitespeed 1.7.16"
|
X-LSCACHE | "on,crawler"
|
SCRIPT_FILENAME | "/home/root.informagenie.com/exetatbot/public/index.php"
|
QUERY_STRING | "" |
SCRIPT_NAME | "/index.php"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
SERVER_SOFTWARE | "LiteSpeed"
|
REQUEST_METHOD | "GET"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1695699511.3131
|
REQUEST_TIME | 1695699511
|
APP_NAME | "Exetat"
|
APP_ENV | "production"
|
APP_KEY | "base64:jNXE3D6IY/IbI4fmJNjLBHAHCCNw3SKdCOC/PfGyU7Q="
|
APP_DEBUG | "true"
|
APP_URL | "https://exetatbot.exetat.info"
|
HOME_TITLE | "Resultat Exetat 2023 : Vision exetat en ligne sur exetatbot"
|
LOG_CHANNEL | "daily"
|
DB_CONNECTION | "mysql"
|
DB_HOST | "127.0.0.1"
|
DB_PORT | "3306"
|
DB_DATABASE | "netw_exetatbot"
|
DB_USERNAME | "netw_exetatbot"
|
DB_PASSWORD | "9*q#%GDNC+Hp12ep"
|
BROADCAST_DRIVER | "log"
|
CACHE_DRIVER | "file"
|
SESSION_DRIVER | "file"
|
SESSION_LIFETIME | "120"
|
QUEUE_DRIVER | "database"
|
QUEUE_CONNECTION | "database"
|
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"
|
FACEBOOK_TOKEN | "EAAXiZBrFZCFo8BAPosuhdZBnU30ZCXcgpWSn7ZAno2k5tWD61QL9ePYUtqpWVXUizDdligsWYmJh3wpZBsbIHZB32PDwvdC6uAb0O5vXimOqQEeZAYI58MZA5MkHlaKO2ZC1QfRIQ4lHyfg0uCClKEf6NnAoVb1f5ZAhrlNEE4wwVaZAbgZDZD"
|
FACEBOOK_VERIFICATION | "exetat.info2020"
|
FACEBOOK_APP_SECRET | "aed87bb69bf3df45d8d92de0500f8110"
|
Key | Value |
APP_NAME | "Exetat"
|
APP_ENV | "production"
|
APP_KEY | "base64:jNXE3D6IY/IbI4fmJNjLBHAHCCNw3SKdCOC/PfGyU7Q="
|
APP_DEBUG | "true"
|
APP_URL | "https://exetatbot.exetat.info"
|
HOME_TITLE | "Resultat Exetat 2023 : Vision exetat en ligne sur exetatbot"
|
LOG_CHANNEL | "daily"
|
DB_CONNECTION | "mysql"
|
DB_HOST | "127.0.0.1"
|
DB_PORT | "3306"
|
DB_DATABASE | "netw_exetatbot"
|
DB_USERNAME | "netw_exetatbot"
|
DB_PASSWORD | "9*q#%GDNC+Hp12ep"
|
BROADCAST_DRIVER | "log"
|
CACHE_DRIVER | "file"
|
SESSION_DRIVER | "file"
|
SESSION_LIFETIME | "120"
|
QUEUE_DRIVER | "database"
|
QUEUE_CONNECTION | "database"
|
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"
|
FACEBOOK_TOKEN | "EAAXiZBrFZCFo8BAPosuhdZBnU30ZCXcgpWSn7ZAno2k5tWD61QL9ePYUtqpWVXUizDdligsWYmJh3wpZBsbIHZB32PDwvdC6uAb0O5vXimOqQEeZAYI58MZA5MkHlaKO2ZC1QfRIQ4lHyfg0uCClKEf6NnAoVb1f5ZAhrlNEE4wwVaZAbgZDZD"
|
FACEBOOK_VERIFICATION | "exetat.info2020"
|
FACEBOOK_APP_SECRET | "aed87bb69bf3df45d8d92de0500f8110"
|