uawdijnntqw1x1x1
IP : 104.23.243.169
Hostname : vps-ebe98236
Kernel : Linux vps-ebe98236 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
html
/
Joomla
/
b2748
/
..
/
components
/
com_gantry5
/
gantry5.php
/
/
<?php /** * @package Gantry 5 * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC * @license GNU/GPLv2 and later * * http://www.gnu.org/licenses/gpl-2.0.html */ defined('_JEXEC') or die; // Detect Gantry Framework or fail gracefully. if (!class_exists('Gantry\Framework\Gantry')) { $lang = JFactory::getLanguage(); $lang->load('com_gantry5', JPATH_ADMINISTRATOR) || $lang->load('com_gantry5', JPATH_ADMINISTRATOR . '/components/com_gantry5'); JFactory::getApplication()->enqueueMessage( JText::sprintf('COM_GANTRY5_PARTICLE_NOT_INITIALIZED', JText::_('COM_GANTRY5_COMPONENT')), 'warning' ); return; } $app = JFactory::getApplication(); $document = JFactory::getDocument(); $input = $app->input; $menu = $app->getMenu(); $menuItem = $menu->getActive(); // Prevent direct access without menu item. if (!$menuItem) { JError::raiseError(404, JText::_('JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND')); } // Handle non-html formats and error page. if ($input->getCmd('format', 'html') !== 'html' || $input->getCmd('view') === 'error' || $input->getInt('g5_not_found')) { JError::raiseError(404, JText::_('JERROR_PAGE_NOT_FOUND')); } $gantry = \Gantry\Framework\Gantry::instance(); /** @var Gantry\Framework\Theme $theme */ $theme = $gantry['theme']; $params = $app->getParams(); // Set page title. $title = $params->get('page_title'); if (empty($title)) { $title = $app->get('sitename'); } elseif ($app->get('sitename_pagetitles', 0) == 1) { $title = JText::sprintf('JPAGETITLE', $app->get('sitename'), $title); } elseif ($app->get('sitename_pagetitles', 0) == 2) { $title = JText::sprintf('JPAGETITLE', $title, $app->get('sitename')); } $document->setTitle($title); // Set description. if ($params->get('menu-meta_description')) { $document->setDescription($params->get('menu-meta_description')); } // Set Keywords. if ($params->get('menu-meta_keywords')) { $document->setMetadata('keywords', $params->get('menu-meta_keywords')); } // Set robots. if ($params->get('robots')) { $document->setMetadata('robots', $params->get('robots')); } /** @var object $params */ $data = json_decode($params->get('particle'), true); if (!$data) { // No component output. return; } $context = [ 'gantry' => $gantry, 'noConfig' => true, 'inContent' => true, 'segment' => [ 'id' => 'main-particle', 'type' => $data['type'], 'classes' => $params->get('pageclass_sfx'), 'subtype' => $data['particle'], 'attributes' => $data['options']['particle'], ] ]; // Render the particle. echo trim($theme->render("@nucleus/content/particle.html.twig", $context));
/var/www/html/Joomla/b2748/../components/com_gantry5/gantry5.php