__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @copyright Copyright (C) 2011 Simplify Your Web, Inc. All rights reserved.
* @license GNU General Public License version 3 or later; see LICENSE.txt
*/
namespace SYW\Library;
defined('_JEXEC') or die;
use Joomla\CMS\Plugin\PluginHelper;
class Plugin
{
/**
* The plugin params
*/
protected static $plugin_params;
/**
* Get the plugin params
*
* @return object
*/
protected static function getPluginParams()
{
if (self::$plugin_params == null) {
if (PluginHelper::isEnabled('system', 'syw')) {
$plugin = PluginHelper::getPlugin('system', 'syw');
self::$plugin_params = json_decode($plugin->params);
}
}
return self::$plugin_params;
}
public static function getImageLibrary()
{
$plugin_params = self::getPluginParams();
if (isset($plugin_params) && isset($plugin_params->image_library)) {
return $plugin_params->image_library;
}
return 'gd';
}
public static function getLazyStylesheet()
{
$plugin_params = self::getPluginParams();
if (isset($plugin_params) && isset($plugin_params->lazy_stylesheets)) {
return $plugin_params->lazy_stylesheets;
}
return 0;
}
public static function getWebfontService()
{
$plugin_params = self::getPluginParams();
if (isset($plugin_params) && isset($plugin_params->webfont_service)) {
return $plugin_params->webfont_service;
}
return 'google';
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Field | Folder | 0775 |
|
|
| Image | Folder | 0775 |
|
|
| Vendor | Folder | 0775 |
|
|
| Cache.php | File | 7.02 KB | 0664 |
|
| Fields.php | File | 6.86 KB | 0664 |
|
| Fonts.php | File | 13.75 KB | 0664 |
|
| HeaderFilesCache.php | File | 5.02 KB | 0664 |
|
| Image.php | File | 23.43 KB | 0664 |
|
| K2.php | File | 3.39 KB | 0664 |
|
| Libraries.php | File | 17.95 KB | 0664 |
|
| Plugin.php | File | 1.71 KB | 0664 |
|
| Stylesheets.php | File | 54.61 KB | 0664 |
|
| Tags.php | File | 2.36 KB | 0664 |
|
| Text.php | File | 2.31 KB | 0664 |
|
| Utilities.php | File | 30.4 KB | 0664 |
|
| Version.php | File | 3.29 KB | 0664 |
|