* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Uri\Uri; /** @var Joomla\CMS\Document\ErrorDocument $this */ if (!isset($this->error)) { $this->error = new Exception(Text::_('JERROR_ALERTNOAUTHOR')); $this->debug = false; } // Load template CSS file $this->getWebAssetManager()->registerAndUseStyle('template.system.error', 'media/system/css/system-site-error.css'); if ($this->direction === 'rtl') { $this->getWebAssetManager()->registerAndUseStyle('template.system.error_rtl', 'media/system/css/system-site-error_rtl.css'); } // Set page title $this->setTitle($this->error->getCode() . ' - ' . htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8')); ?>
error->getMessage(), ENT_QUOTES, 'UTF-8'); ?>
debug) : ?>
error->getFile(), ENT_QUOTES, 'UTF-8');?>:error->getLine(); ?>
_error->getMessage(), ENT_QUOTES, 'UTF-8'); ?>
_error->getFile(), ENT_QUOTES, 'UTF-8');?>:_error->getLine(); ?>