} /** * 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 | TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTczOTc2ODQ0MjtzOjQ6Imxhc3QiO2k6MTczOTc2ODQ0MjtzOjM6Im5vdyI7aToxNzM5NzY4NDQyO31zOjU6InRva2VuIjtzOjMyOiJpZnBwM2FTNllzYWx2dFJXQWV0S0ZPeFRDbzNMQU5MOSI7fXM6ODoicmVnaXN0cnkiO086MjQ6Ikpvb21sYVxSZWdpc3RyeVxSZWdpc3RyeSI6Mzp7czo3OiIAKgBkYXRhIjtPOjg6InN0ZENsYXNzIjowOnt9czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9czo0OiJ1c2VyIjtPOjIwOiJKb29tbGFcQ01TXFVzZXJcVXNlciI6MTp7czoyOiJpZCI7aTowO319fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ== |
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 | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_ACCEPT_ENCODING | br,gzip |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_AUTHORIZATION | |
HTTP_CONNECTION | Keep-Alive |
HTTP_HOST | www.explorenorrislake.com |
HTTP_IF_MODIFIED_SINCE | Fri, 11 Oct 2024 22:16:21 GMT |
HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
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://www.explorenorrislake.com/places-to-visit/lenoir-museum-historical-complex |
REDIRECT_SCRIPT_URL | /places-to-visit/lenoir-museum-historical-complex |
REDIRECT_SSL_TLS_SNI | www.explorenorrislake.com |
REDIRECT_STATUS | 200 |
REDIRECT_UNIQUE_ID | Z7LCedcHq21UkwuD6MFpKAAAAAg |
REDIRECT_URL | /places-to-visit/lenoir-museum-historical-complex |
REMOTE_ADDR | 18.97.14.90 |
REMOTE_PORT | 42494 |
REQUEST_METHOD | GET |
REQUEST_SCHEME | https |
REQUEST_URI | /places-to-visit/lenoir-museum-historical-complex |
SCRIPT_FILENAME | /home/exploren/public_html/index.php |
SCRIPT_NAME | /index.php |
SCRIPT_URI | https://www.explorenorrislake.com/places-to-visit/lenoir-museum-historical-complex |
SCRIPT_URL | /places-to-visit/lenoir-museum-historical-complex |
SERVER_ADDR | 192.254.139.239 |
SERVER_ADMIN | webmaster@explorenorrislake.com |
SERVER_NAME | www.explorenorrislake.com |
SERVER_PORT | 443 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SSL_TLS_SNI | www.explorenorrislake.com |
TZ | |
UNIQUE_ID | Z7LCedcHq21UkwuD6MFpKAAAAAg |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1739768442.0337 |
REQUEST_TIME | 1739768442 |
argv | Array ( ) |
argc | 0 |