Official Joomla_3.8.11-Stable-Full_Package (downloads.joomla.org), installer dir removed. This is the clean deployed core; it byte-matches the live core for the legit files and provides clean versions of the 3 files the attacker trojanized (auth/joomla.php credential-stealer, session/storage.php, event/event.php). Signed-off-by: LÁZÁR Imre <imre@illusion.hu> Assisted-by: claude-code@claude-opus-4-8
25 lines
1.0 KiB
PHP
25 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* @package Joomla.Site
|
|
*
|
|
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
*/
|
|
|
|
defined('_JEXEC') or die;
|
|
|
|
// Global definitions
|
|
$parts = explode(DIRECTORY_SEPARATOR, JPATH_BASE);
|
|
|
|
// 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');
|