* http://opensource.org/licenses/MIT * http://www.gnu.org/licenses/gpl-2.0.html * * Gantry Framework code that extends GPL code is considered GNU/GPLv2 and later */ namespace Gantry\Component\Theme; use Gantry\Component\File\CompiledYamlFile; use Gantry\Component\Filesystem\Streams; use Gantry\Framework\Gantry; use RocketTheme\Toolbox\ArrayTraits\Export; use RocketTheme\Toolbox\ArrayTraits\NestedArrayAccessWithGetters; use RocketTheme\Toolbox\ResourceLocator\UniformResourceLocator; /** * Class ThemeDetails * @package Gantry\Component\Theme */ class ThemeDetails implements \ArrayAccess { use NestedArrayAccessWithGetters, Export; protected $items; protected $parent; /** * Create new theme details. * * @param string $theme */ public function __construct($theme) { $gantry = Gantry::instance(); /** @var UniformResourceLocator $locator */ $locator = $gantry['locator']; $filename = $locator->findResource("gantry-themes://{$theme}/gantry/theme.yaml"); if (!$filename) {
/** * 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 | TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjI6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMTYyNTg1MTtzOjQ6Imxhc3QiO2k6MTcxMTYyNTg1MTtzOjM6Im5vdyI7aToxNzExNjI1ODUxO319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fX19czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9 |
Key | Value |
CONTEXT_DOCUMENT_ROOT | /home/mdijummy/public_html/fmconsultingservices.org |
CONTEXT_PREFIX | |
DOCUMENT_ROOT | /home/mdijummy/public_html/fmconsultingservices.org |
GATEWAY_INTERFACE | CGI/1.1 |
H2PUSH | off |
H2_PUSH | off |
H2_PUSHED | |
H2_PUSHED_ON | |
H2_STREAM_ID | 3 |
H2_STREAM_TAG | 530126-289-3 |
HTTP2 | on |
HTTPS | on |
HTTP_ACCEPT | */* |
HTTP_HOST | fmconsultingservices.org |
HTTP_REFERER | http://fmconsultingservices.org/ |
HTTP_USER_AGENT | claudebot |
HTTP_X_HTTPS | 1 |
PATH | /bin:/usr/bin |
PHP_INI_SCAN_DIR | /opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:. |
QUERY_STRING | |
REDIRECT_STATUS | 200 |
REMOTE_ADDR | 44.204.34.64 |
REMOTE_PORT | 59048 |
REQUEST_METHOD | GET |
REQUEST_SCHEME | https |
REQUEST_URI | / |
SCRIPT_FILENAME | /home/mdijummy/public_html/fmconsultingservices.org/index.php |
SCRIPT_NAME | /index.php |
SCRIPT_URI | https://fmconsultingservices.org/ |
SCRIPT_URL | / |
SERVER_ADDR | 65.60.5.247 |
SERVER_ADMIN | webmaster@fmconsultingservices.therealplayboi.com |
SERVER_NAME | fmconsultingservices.org |
SERVER_PORT | 443 |
SERVER_PROTOCOL | HTTP/2.0 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SSL_TLS_SNI | fmconsultingservices.org |
TZ | UTC |
UNIQUE_ID | ZgVWe4NdDqOXMGEVXkKmtwABjQE |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711625851.415 |
REQUEST_TIME | 1711625851 |
argv | Array ( ) |
argc | 0 |