| Server IP : 87.98.154.146 / Your IP : 216.73.216.101 Web Server : Apache System : Linux webm005.cluster126.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 : bsiadvisil ( 110003) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/bsiadvisil/www/plugins/system/msframework/helper/ |
Upload File : |
<?php
/**
* MS Framework
*
* @package MS Framework Plugin
* @version 1.2.1.573
*
* @author Michael Snoeren
* @link https://snoerendevelopment.nl/
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
// Deny direct access
defined('_JEXEC') or die;
abstract class MSFramework
{
/**
* Framework Constants
* @var Mixed
* @access Public
*/
const BASEURL = 'https://snoerendevelopment.nl/';
const VERSION = '1.2.1';
const BUILD = '573';
/**
* Get all framework classes
* @access Public
* @return Void
*/
public static function setup()
{
jimport('joomla.filesystem.folder');
jimport('joomla.filesystem.file');
// Load all libraries
$path = JPATH_ROOT . '/plugins/system/msframework/';
JLoader::register('MSFrameworkAPI', $path . '/helper/api.php');
JLoader::register('MSFrameworkInstall', $path . '/helper/install.php');
JLoader::register('MSFrameworkKey', $path . '/helper/key.php');
JLoader::register('MSFrameworkDebug', $path . '/helper/debug.php');
$app = JFactory::getApplication();
if ($app->isAdmin()) {
self::admin($app);
}
if ($app->isSite()) {
self::site();
}
}
/**
* Admin Functionality
* @access Private
* @return Void
*/
private static function admin($app)
{
$option = strtolower($app->input->getCmd('option', ''));
// Remove all duplicate collections and update the key, but only at the cpanel or installer
if ($option === '' || $option === 'com_cpanel' || $option === 'com_installer') {
MSFrameworkKey::updateByFile();
}
}
/**
* Site Functionality
* @access Private
* @return Void
*/
private static function site()
{
}
}