Akeeba Backup Core (Akeeba Ltd) + FOF 2.4.3/FOF30 3.3.4/FEF libraries; exact 6.1.1 not publicly downloadable -> deployed files (code only, no backup archives). Signed-off-by: LÁZÁR Imre <imre@illusion.hu> Assisted-by: claude-code@claude-opus-4-8
34 lines
970 B
PHP
34 lines
970 B
PHP
<?php
|
|
/**
|
|
* @package FOF
|
|
* @copyright Copyright (c)2010-2018 Nicholas K. Dionysopoulos / Akeeba Ltd
|
|
* @license GNU GPL version 2 or later
|
|
*/
|
|
|
|
// Do not put the JEXEC or die check on this file (necessary omission for testing)
|
|
|
|
if (!class_exists('FOF30\\Autoloader\\Autoloader'))
|
|
{
|
|
// Register utility functions
|
|
require_once __DIR__ . '/Utils/helpers.php';
|
|
// Register the FOF autoloader
|
|
require_once __DIR__ . '/Autoloader/Autoloader.php';
|
|
}
|
|
|
|
if (!defined('FOF30_INCLUDED'))
|
|
{
|
|
define('FOF30_INCLUDED', '3.3.4');
|
|
|
|
JFactory::getLanguage()->load('lib_fof30', JPATH_SITE, 'en-GB', true);
|
|
JFactory::getLanguage()->load('lib_fof30', JPATH_SITE, null, true);
|
|
|
|
// Register a debug log
|
|
if (defined('JDEBUG') && JDEBUG && class_exists('JLog'))
|
|
{
|
|
\JLog::addLogger(array('text_file' => 'fof.log.php'), \JLog::ALL, array('fof'));
|
|
}
|
|
|
|
// Register the JHtml helpers path for the Akeeba Frontend Framework
|
|
JHtml::addIncludePath(__DIR__ . '/Utils/FEFHelper');
|
|
}
|