Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/ptitsanes/libraries/gantry5/src/classes/Gantry/Framework/ |
Upload File : |
<?php
/**
* @package Gantry5
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2021 RocketTheme, LLC
* @license GNU/GPLv2 and later
*
* http://www.gnu.org/licenses/gpl-2.0.html
*/
namespace Gantry\Framework;
use Joomla\CMS\Application\CMSApplication;
use Joomla\CMS\Document\HtmlDocument;
use Joomla\CMS\Factory;
/**
* Class Site
* @package Gantry\Framework
*/
class Site
{
/** @var string */
public $theme;
/** @var string */
public $url;
/** @var string */
public $title;
/** @var string */
public $description;
public function __construct()
{
/** @var CMSApplication $application */
$application = Factory::getApplication();
$document = $application->getDocument();
if ($document instanceof HtmlDocument) {
$this->theme = $document->template;
$this->url = $document->baseurl;
$this->title = $document->title;
$this->description = $document->description;
}
}
}