HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/backip-old-files/administrator/components/com_jevents/libraries/config.php
<?php

/**
 * JEvents Component for Joomla! 3.x
 *
 * @version     $Id: config.php 2490 2011-08-24 14:15:21Z geraintedwards $
 * @package     JEvents
 * @copyright   Copyright (C)  2008-2020 GWESystems Ltd, 2006-2008 JEvents Project Group
 * @license     GNU/GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html
 * @link        http://www.jevents.net
 */
// no direct access
defined('_JEXEC') or die('Restricted access');

use Joomla\CMS\Component\ComponentHelper;

/**
 * convenience wrapper for config - to ensure backwards compatability
 */
// on some servers with Xcache both classes seem to be 'compiled' and it throws an error but if we add this second test its ok - go figure .
if (!defined("JEVCONFIG"))
{
	define("JEVCONFIG", 1);

	class JEVConfig
	{

		// 1.6 mod
		static function &getInstance($inifile = '')
		{

			$params = ComponentHelper::getParams("com_jevents");

			return $params;
		}
	}
}