}
/**
* Store the data to cache by ID and group
*
* @param string $id The cache data ID
* @param string $group The cache data group
* @param string $data The data to store in cache
*
* @return boolean
*
* @since 1.7.0
*/
public function store($id, $group, $data)
{
$path = $this->_getFilePath($id, $group);
$close = false;
// Prepend a die string
$data = '<?php die("Access Denied"); ?>#x#' . $data;
if (isset($this->_locked_files[$path]))
{
$_fileopen = $this->_locked_files[$path];
// Because lock method uses flag c+b we have to truncate it manually
@ftruncate($_fileopen, 0);
}
else
{
$_fileopen = @fopen($path, 'wb');
// There is no lock, we have to close file after store data
$close = true;
}
if ($_fileopen)
{
$length = strlen($data);
$result = @fwrite($_fileopen, $data, $length);
/**
* Special case to deal with Fatal errors and the like.
*/
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;
$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']
);
}
}
/**
* In certain scenarios, like in shutdown handler, we can not throw exceptions
* @var bool
*/
private $canThrowExceptions = true;
/**
* Echo something to the browser
* @param string $output
* @return $this
*/
private function writeToOutputNow($output)
{
if ($this->sendHttpCode() && \Whoops\Util\Misc::canSendHeaders()) {
$this->system->setHttpResponseCode(
$this->sendHttpCode()
}
// Propagate error to the next handler.
if ($this->platformExceptionHandler) {
call_user_func_array($this->platformExceptionHandler, [&$exception]);
}
}
/**
* Special case to deal with Fatal errors and the like.
*/
public function handleShutdown()
{
$handler = $this->whoopsShutdownHandler;
$error = $this->getLastError();
// Ignore core warnings and errors.
if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
$handler();
}
}
}
| Key | Value |
| joomla | TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTc2NTk3ODIyNTtzOjQ6Imxhc3QiO2k6MTc2NTk3ODIyNTtzOjM6Im5vdyI7aToxNzY1OTc4MjI1O31zOjU6InRva2VuIjtzOjMyOiJUU2k1aHNGYkpQallPUUM0MFRxYVE1bkJMZ2lXTk1NaiI7fXM6ODoicmVnaXN0cnkiO086MjQ6Ikpvb21sYVxSZWdpc3RyeVxSZWdpc3RyeSI6Mzp7czo3OiIAKgBkYXRhIjtPOjg6InN0ZENsYXNzIjowOnt9czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9czo0OiJ1c2VyIjtPOjIwOiJKb29tbGFcQ01TXFVzZXJcVXNlciI6MTp7czoyOiJpZCI7aTowO319fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ== |
| Key | Value |
| CONTEXT_DOCUMENT_ROOT | /home/exploren/public_html |
| CONTEXT_PREFIX | |
| DOCUMENT_ROOT | /home/exploren/public_html |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| HTTP_ACCEPT | */* |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_AUTHORIZATION | |
| HTTP_HOST | explorenorrislake.com |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_X_HTTPS | 1 |
| PATH | /bin:/usr/bin |
| PHP_INI_SCAN_DIR | /opt/cpanel/ea-php72/root/etc:/opt/cpanel/ea-php72/root/etc/php.d:. |
| QUERY_STRING | |
| REDIRECT_HTTPS | on |
| REDIRECT_HTTP_AUTHORIZATION | |
| REDIRECT_SCRIPT_URI | https://explorenorrislake.com/norris-lake-marinas/party-pontoon-rentals |
| REDIRECT_SCRIPT_URL | /norris-lake-marinas/party-pontoon-rentals |
| REDIRECT_SSL_TLS_SNI | explorenorrislake.com |
| REDIRECT_STATUS | 200 |
| REDIRECT_UNIQUE_ID | aUKwcQpa4lvjf1OjPq7AmAAAAAM |
| REDIRECT_URL | /norris-lake-marinas/party-pontoon-rentals |
| REMOTE_ADDR | 216.73.216.81 |
| REMOTE_PORT | 7439 |
| REQUEST_METHOD | GET |
| REQUEST_SCHEME | https |
| REQUEST_URI | /norris-lake-marinas/party-pontoon-rentals |
| SCRIPT_FILENAME | /home/exploren/public_html/index.php |
| SCRIPT_NAME | /index.php |
| SCRIPT_URI | https://explorenorrislake.com/norris-lake-marinas/party-pontoon-rentals |
| SCRIPT_URL | /norris-lake-marinas/party-pontoon-rentals |
| SERVER_ADDR | 192.254.139.239 |
| SERVER_ADMIN | webmaster@explorenorrislake.com |
| SERVER_NAME | explorenorrislake.com |
| SERVER_PORT | 443 |
| SERVER_PROTOCOL | HTTP/1.1 |
| SERVER_SIGNATURE | |
| SERVER_SOFTWARE | Apache |
| SSL_TLS_SNI | explorenorrislake.com |
| TZ | |
| UNIQUE_ID | aUKwcQpa4lvjf1OjPq7AmAAAAAM |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1765978225.5191 |
| REQUEST_TIME | 1765978225 |
| argv | Array ( ) |
| argc | 0 |