| Current Path : /home/wuectly/www/03cbe/ |
| Current File : /home/wuectly/www/03cbe/administrator.tar |
includes/helper.php 0000604 00000001737 15245362343 0010355 0 ustar 00 <?php
/**
* @package Joomla.Administrator
*
* @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Joomla! Administrator Application helper class.
* Provide many supporting API functions.
*
* @since 1.5
*
* @deprecated 4.0 Deprecated without replacement
*/
class JAdministratorHelper
{
/**
* Return the application option string [main component].
*
* @return string The component to access.
*
* @since 1.5
*/
public static function findOption()
{
$app = JFactory::getApplication();
$option = strtolower($app->input->get('option'));
$app->loadIdentity();
$user = $app->getIdentity();
if ($user->get('guest') || !$user->authorise('core.login.admin'))
{
$option = 'com_login';
}
if (empty($option))
{
$option = 'com_cpanel';
}
$app->input->set('option', $option);
return $option;
}
}
includes/defines.php 0000604 00000002040 15245362343 0010477 0 ustar 00 <?php
/**
* @package Joomla.Administrator
*
* @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
// Global definitions
$parts = explode(DIRECTORY_SEPARATOR, JPATH_BASE);
array_pop($parts);
// Defines
define('JPATH_ROOT', implode(DIRECTORY_SEPARATOR, $parts));
define('JPATH_SITE', JPATH_ROOT);
define('JPATH_CONFIGURATION', JPATH_ROOT);
define('JPATH_ADMINISTRATOR', JPATH_ROOT . DIRECTORY_SEPARATOR . 'administrator');
define('JPATH_LIBRARIES', JPATH_ROOT . DIRECTORY_SEPARATOR . 'libraries');
define('JPATH_PLUGINS', JPATH_ROOT . DIRECTORY_SEPARATOR . 'plugins');
define('JPATH_INSTALLATION', JPATH_ROOT . DIRECTORY_SEPARATOR . 'installation');
define('JPATH_THEMES', JPATH_BASE . DIRECTORY_SEPARATOR . 'templates');
define('JPATH_CACHE', JPATH_BASE . DIRECTORY_SEPARATOR . 'cache');
define('JPATH_MANIFESTS', JPATH_ADMINISTRATOR . DIRECTORY_SEPARATOR . 'manifests');
includes/framework.php 0000604 00000005524 15245362343 0011071 0 ustar 00 <?php
/**
* @package Joomla.Administrator
*
* @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\Utilities\IpHelper;
// Joomla system checks.
@ini_set('magic_quotes_runtime', 0);
// System includes
require_once JPATH_LIBRARIES . '/import.legacy.php';
// Bootstrap the CMS libraries.
require_once JPATH_LIBRARIES . '/cms.php';
// Set system error handling
JError::setErrorHandling(E_NOTICE, 'message');
JError::setErrorHandling(E_WARNING, 'message');
JError::setErrorHandling(E_ERROR, 'message', array('JError', 'customErrorPage'));
$version = new JVersion;
// Installation check, and check on removal of the install directory.
if (!file_exists(JPATH_CONFIGURATION . '/configuration.php')
|| (filesize(JPATH_CONFIGURATION . '/configuration.php') < 10)
|| (file_exists(JPATH_INSTALLATION . '/index.php') && (false === $version->isInDevelopmentState())))
{
if (file_exists(JPATH_INSTALLATION . '/index.php'))
{
header('Location: ../installation/index.php');
exit();
}
else
{
echo 'No configuration file found and no installation code available. Exiting...';
exit;
}
}
// Pre-Load configuration. Don't remove the Output Buffering due to BOM issues, see JCode 26026
ob_start();
require_once JPATH_CONFIGURATION . '/configuration.php';
ob_end_clean();
// System configuration.
$config = new JConfig;
// Set the error_reporting
switch ($config->error_reporting)
{
case 'default':
case '-1':
break;
case 'none':
case '0':
error_reporting(0);
break;
case 'simple':
error_reporting(E_ERROR | E_WARNING | E_PARSE);
ini_set('display_errors', 1);
break;
case 'maximum':
error_reporting(E_ALL);
ini_set('display_errors', 1);
break;
case 'development':
error_reporting(-1);
ini_set('display_errors', 1);
break;
default:
error_reporting($config->error_reporting);
ini_set('display_errors', 1);
break;
}
define('JDEBUG', $config->debug);
// System profiler
if (JDEBUG)
{
// @deprecated 4.0 - The $_PROFILER global will be removed
$_PROFILER = JProfiler::getInstance('Application');
}
/**
* Correctly set the allowing of IP Overrides if behind a trusted proxy/load balancer.
*
* We need to do this as high up the stack as we can, as the default in \Joomla\Utilities\IpHelper is to
* $allowIpOverride = true which is the wrong default for a generic site NOT behind a trusted proxy/load balancer.
*/
if (property_exists($config, 'behind_loadbalancer') && $config->behind_loadbalancer == 1)
{
// If Joomla is configured to be behind a trusted proxy/load balancer, allow HTTP Headers to override the REMOTE_ADDR
IpHelper::setAllowIpOverrides(true);
}
else
{
// We disable the allowing of IP overriding using headers by default.
IpHelper::setAllowIpOverrides(false);
}
unset($config);
includes/subtoolbar.php 0000604 00000010423 15245362343 0011242 0 ustar 00 <?php
/**
* @package Joomla.Administrator
*
* @copyright (C) 2014 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Utility class for the submenu.
*
* @package Joomla.Administrator
* @since 1.5
* @deprecated 4.0 Use JHtmlSidebar instead.
*/
abstract class JSubMenuHelper
{
/**
* Menu entries
*
* @var array
* @since 3.0
* @deprecated 4.0
*/
protected static $entries = array();
/**
* Filters
*
* @var array
* @since 3.0
* @deprecated 4.0
*/
protected static $filters = array();
/**
* Value for the action attribute of the form.
*
* @var string
* @since 3.0
* @deprecated 4.0
*/
protected static $action = '';
/**
* Method to add a menu item to submenu.
*
* @param string $name Name of the menu item.
* @param string $link URL of the menu item.
* @param boolean $active True if the item is active, false otherwise.
*
* @return void
*
* @since 1.5
* @deprecated 4.0 Use JHtmlSidebar::addEntry() instead.
*/
public static function addEntry($name, $link = '', $active = false)
{
try
{
JLog::add(
sprintf('%s() is deprecated. Use JHtmlSidebar::addEntry() instead.', __METHOD__),
JLog::WARNING,
'deprecated'
);
}
catch (RuntimeException $exception)
{
// Informational log only
}
self::$entries[] = array($name, $link, $active);
}
/**
* Returns an array of all submenu entries
*
* @return array
*
* @since 3.0
* @deprecated 4.0 Use JHtmlSidebar::getEntries() instead.
*/
public static function getEntries()
{
try
{
JLog::add(
sprintf('%s() is deprecated. Use JHtmlSidebar::getEntries() instead.', __METHOD__),
JLog::WARNING,
'deprecated'
);
}
catch (RuntimeException $exception)
{
// Informational log only
}
return self::$entries;
}
/**
* Method to add a filter to the submenu
*
* @param string $label Label for the menu item.
* @param string $name name for the filter. Also used as id.
* @param string $options options for the select field.
* @param boolean $noDefault Don't show the label as the empty option
*
* @return void
*
* @since 3.0
* @deprecated 4.0 Use JHtmlSidebar::addFilter() instead.
*/
public static function addFilter($label, $name, $options, $noDefault = false)
{
try
{
JLog::add(
sprintf('%s() is deprecated. Use JHtmlSidebar::addFilter() instead.', __METHOD__),
JLog::WARNING,
'deprecated'
);
}
catch (RuntimeException $exception)
{
// Informational log only
}
self::$filters[] = array('label' => $label, 'name' => $name, 'options' => $options, 'noDefault' => $noDefault);
}
/**
* Returns an array of all filters
*
* @return array
*
* @since 3.0
* @deprecated 4.0 Use JHtmlSidebar::getFilters() instead.
*/
public static function getFilters()
{
try
{
JLog::add(
sprintf('%s() is deprecated. Use JHtmlSidebar::getFilters() instead.', __METHOD__),
JLog::WARNING,
'deprecated'
);
}
catch (RuntimeException $exception)
{
// Informational log only
}
return self::$filters;
}
/**
* Set value for the action attribute of the filter form
*
* @param string $action Value for the action attribute of the form
*
* @return void
*
* @since 3.0
* @deprecated 4.0 Use JHtmlSidebar::setAction() instead.
*/
public static function setAction($action)
{
try
{
JLog::add(
sprintf('%s() is deprecated. Use JHtmlSidebar::setAction() instead.', __METHOD__),
JLog::WARNING,
'deprecated'
);
}
catch (RuntimeException $exception)
{
// Informational log only
}
self::$action = $action;
}
/**
* Get value for the action attribute of the filter form
*
* @return string Value for the action attribute of the form
*
* @since 3.0
* @deprecated 4.0 Use JHtmlSidebar::getAction() instead.
*/
public static function getAction()
{
try
{
JLog::add(
sprintf('%s() is deprecated. Use JHtmlSidebar::getAction() instead.', __METHOD__),
JLog::WARNING,
'deprecated'
);
}
catch (RuntimeException $exception)
{
// Informational log only
}
return self::$action;
}
}
manifests/libraries/regularlabs.xml 0000604 00000002047 15245362343 0013544 0 ustar 00 <?xml version="1.0" encoding="utf-8"?>
<extension version="3.9" type="library" method="upgrade">
<name>Regular Labs Library</name>
<libraryname>regularlabs</libraryname>
<description></description>
<version>21.4.10972</version>
<creationDate>April 2021</creationDate>
<author>Regular Labs (Peter van Westen)</author>
<authorEmail>info@regularlabs.com</authorEmail>
<authorUrl>https://regularlabs.com</authorUrl>
<copyright>Copyright © 2018 Regular Labs - All Rights Reserved</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<scriptfile>script.install.php</scriptfile>
<files>
<folder>vendor</folder>
<folder>src</folder>
<file>autoload.php</file>
<file>regularlabs.xml</file>
<folder>fields</folder>
<folder>helpers</folder>
<folder>layouts</folder>
<filename>script.install.helper.php</filename>
</files>
<media folder="media" destination="regularlabs">
<folder>css</folder>
<folder>fonts</folder>
<folder>images</folder>
<folder>js</folder>
<folder>less</folder>
</media>
</extension>
manifests/libraries/idna_convert.xml 0000604 00000001254 15245362343 0013713 0 ustar 00 <?xml version="1.0" encoding="UTF-8" ?>
<extension type="library" version="3.1">
<name>LIB_IDNA</name>
<libraryname>idna_convert</libraryname>
<version>0.8.0</version>
<description>LIB_IDNA_XML_DESCRIPTION</description>
<creationDate>2004</creationDate>
<copyright>2004-2011 phlyLabs Berlin, http://phlylabs.de</copyright>
<license>https://www.gnu.org/licenses/lgpl-2.1.html GNU/LGPL</license>
<author>phlyLabs</author>
<authorEmail>phlymail@phlylabs.de</authorEmail>
<authorUrl>http://phlylabs.de</authorUrl>
<packager>Joomla!</packager>
<packagerurl>https://www.joomla.org</packagerurl>
<files folder="libraries">
<folder>idna_convert</folder>
</files>
</extension>
manifests/libraries/lib_f0f.xml 0000604 00000003631 15245362343 0012542 0 ustar 00 <?xml version="1.0" encoding="UTF-8"?>
<extension type="library" version="2.5" method="upgrade">
<name>F0F (NEW) DO NOT REMOVE</name>
<libraryname>f0f</libraryname>
<description>Framework-on-Framework (FOF) newer version - DO NOT REMOVE - The rapid component development framework for Joomla!. This package is the newer version of FOF, not the one shipped with Joomla! as the official Joomla! RAD Layer. The Joomla! RAD Layer has ceased development in March 2014. DO NOT UNINSTALL THIS PACKAGE, IT IS *** N O T *** A DUPLICATE OF THE 'FOF' PACKAGE. REMOVING EITHER FOF PACKAGE WILL BREAK YOUR SITE.</description>
<creationDate>2016-05-12</creationDate>
<author>Nicholas K. Dionysopoulos / Akeeba Ltd</author>
<authorEmail>nicholas@akeebabackup.com</authorEmail>
<authorUrl>https://www.akeebabackup.com</authorUrl>
<copyright>(C)2011-2014 Nicholas K. Dionysopoulos</copyright>
<license>GNU GPLv2 or later</license>
<version>revAA17947</version>
<packager>Akeeba Ltd</packager>
<packagerurl>https://www.AkeebaBackup.com/download.html</packagerurl>
<languages folder="_lang">
<language tag="en-GB">en-GB/en-GB.lib_f0f.ini</language>
</languages>
<files folder="fof">
<folder>autoloader</folder>
<folder>config</folder>
<folder>controller</folder>
<folder>database</folder>
<folder>dispatcher</folder>
<folder>download</folder>
<folder>encrypt</folder>
<folder>form</folder>
<folder>hal</folder>
<folder>inflector</folder>
<folder>integration</folder>
<folder>input</folder>
<folder>layout</folder>
<folder>less</folder>
<folder>model</folder>
<folder>platform</folder>
<folder>query</folder>
<folder>render</folder>
<folder>string</folder>
<folder>table</folder>
<folder>template</folder>
<folder>toolbar</folder>
<folder>utils</folder>
<folder>view</folder>
<file>LICENSE.txt</file>
<file>include.php</file>
<file>version.txt</file>
</files>
</extension>