* 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 |
tmpl | component |
template | rt_photon |
link | d3c062ef5acfab86c6a7f129362833494e8b092e |
Key | Value |
joomla | TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjI6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMTY0Mzk3NztzOjQ6Imxhc3QiO2k6MTcxMTY0Mzk3NztzOjM6Im5vdyI7aToxNzExNjQzOTc3O319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fX19czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9 |
Key | Value |
USER | acaxochi |
HOME | /home/acaxochi |
SCRIPT_NAME | /index.php |
REQUEST_URI | /component/mailto/?tmpl=component&template=rt_photon&link=d3c062ef5acfab86c6a7f129362833494e8b092e |
QUERY_STRING | tmpl=component&template=rt_photon&link=d3c062ef5acfab86c6a7f129362833494e8b092e |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | tmpl=component&template=rt_photon&link=d3c062ef5acfab86c6a7f129362833494e8b092e |
REDIRECT_URL | /component/mailto/ |
REMOTE_PORT | 35166 |
SCRIPT_FILENAME | /home/acaxochi/public_html/index.php |
SERVER_ADMIN | webmaster@acaxochitlan.gob.mx |
CONTEXT_DOCUMENT_ROOT | /home/acaxochi/public_html |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /home/acaxochi/public_html |
REMOTE_ADDR | 35.169.107.177 |
SERVER_PORT | 443 |
SERVER_ADDR | 15.235.11.117 |
SERVER_NAME | acaxochitlan.gob.mx |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | |
PATH | /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin |
HTTP_X_HTTPS | 1 |
HTTP_HOST | acaxochitlan.gob.mx |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
proxy-nokeepalive | 1 |
SSL_TLS_SNI | acaxochitlan.gob.mx |
HTTPS | on |
HTTP_AUTHORIZATION | |
SCRIPT_URI | https://acaxochitlan.gob.mx/component/mailto/ |
SCRIPT_URL | /component/mailto/ |
UNIQUE_ID | ZgWdSVB0AMUW2sVLGeuj0gAAAAo |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | acaxochitlan.gob.mx |
REDIRECT_HTTPS | on |
REDIRECT_HTTP_AUTHORIZATION | |
REDIRECT_SCRIPT_URI | https://acaxochitlan.gob.mx/component/mailto/ |
REDIRECT_SCRIPT_URL | /component/mailto/ |
REDIRECT_UNIQUE_ID | ZgWdSVB0AMUW2sVLGeuj0gAAAAo |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711643977.5813 |
REQUEST_TIME | 1711643977 |
argv | Array ( [0] => tmpl=component&template=rt_photon&link=d3c062ef5acfab86c6a7f129362833494e8b092e ) |
argc | 1 |