public function get($id, $default = null)
{
if ($this->bypassesCache(is_array($id) ? (string) reset($id) : (string) $id)) {
return false;
}
if (Kohana::$caching === false) {
return null;
}
if (Kohana::$profiling) {
$be = Profiler::start('Cache Redis', 'GET: '.(is_array($id) ? implode(',', $id) : $id));
}
try {
if (is_array($id)) {
$raw = $this->_redis->mget(array_map([$this, '_sanitize_id'], $id));
$value = is_array($raw) ? array_combine($id, array_map([$this, 'unpack'], $raw)) : null;
} else {
$value = $this->unpack($this->_redis->get($this->_sanitize_id($id)));
}
} catch (RedisException $e) {
$value = null;
}
if (empty($value)) {
$value = $default;
}
if (isset($be)) {
Profiler::stop($be);
}
return $value;
}
/**
* all the functions that in the redis driver are proxied here
*
* @param string $method PhpRedis method
"Allowed memory size of 134217728 bytes exhausted (tried to allocate 1371936156 bytes)"
* @return void
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
// If we are not currently registered, we should not do anything
if (!$this->isRegistered) {
return;
}
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* @param InspectorFactoryInterface $factory
*
* @return void
*/
public function setInspectorFactory(InspectorFactoryInterface $factory)
{
$this->inspectorFactory = $factory;
}
public function addFrameFilter($filterCallback)
| Key | Value |
| gad_campaignid | "17744774054"
|
| page | "2"
|
| Key | Value |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
| TEMP | "/var/www/clients/client0/web7/tmp"
|
| TMPDIR | "/var/www/clients/client0/web7/tmp"
|
| TMP | "/var/www/clients/client0/web7/tmp"
|
| HOSTNAME | "" |
| USER | "web7"
|
| HOME | "/var/www/clients/client0/web7"
|
| 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 | "*/*"
|
| HTTP_HOST | "corciano.pl"
|
| SCRIPT_FILENAME | "/var/www/corciano.pl/web/index.php"
|
| REDIRECT_STATUS | "200"
|
| SERVER_NAME | "corciano.pl"
|
| SERVER_PORT | "443"
|
| SERVER_ADDR | "5.187.51.71"
|
| REMOTE_USER | "" |
| REMOTE_PORT | "45317"
|
| REMOTE_ADDR | "216.73.217.140"
|
| SERVER_SOFTWARE | "nginx/1.18.0"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| HTTPS | "on"
|
| REQUEST_SCHEME | "https"
|
| SERVER_PROTOCOL | "HTTP/2.0"
|
| DOCUMENT_ROOT | "/var/www/corciano.pl/web"
|
| DOCUMENT_URI | "/index.php"
|
| REQUEST_URI | "/produkty/promocje/new?gad_campaignid=17744774054&page=2"
|
| SCRIPT_NAME | "/index.php"
|
| CONTENT_LENGTH | "" |
| CONTENT_TYPE | "" |
| REQUEST_METHOD | "GET"
|
| QUERY_STRING | "gad_campaignid=17744774054&page=2"
|
| FCGI_ROLE | "RESPONDER"
|
| PHP_SELF | "/index.php"
|
| REQUEST_TIME_FLOAT | 1790102820.3355
|
| REQUEST_TIME | 1790102820
|
Trwają prace serwisowe. Zapraszamy ponownie za chwilę.
Przepraszamy za niedogodności. Wracamy tak szybko, jak to możliwe.
ID strony 7ec1733663cd4ef59e3573998aa2f787