mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-08-26 13:09:46 +00:00
26 lines
565 B
PHP
26 lines
565 B
PHP
<?php
|
|
/**
|
|
* @package FrameworkOnFramework
|
|
* @subpackage include
|
|
* @copyright Copyright (c)2010-2014 Nicholas K. Dionysopoulos
|
|
* @license GNU General Public License version 2, or later
|
|
*
|
|
* Initializes FOF
|
|
*/
|
|
|
|
defined('_JEXEC') or die();
|
|
|
|
if (!defined('FOF_INCLUDED'))
|
|
{
|
|
define('FOF_INCLUDED', '2.2.1');
|
|
|
|
// Register the FOF autoloader
|
|
require_once __DIR__ . '/autoloader/fof.php';
|
|
FOFAutoloaderFof::init();
|
|
|
|
// Register a debug log
|
|
if (defined('JDEBUG') && JDEBUG)
|
|
{
|
|
FOFPlatform::getInstance()->logAddLogger('fof.log.php');
|
|
}
|
|
} |