<?php /** * @package FrameworkOnFramework * @subpackage include * @copyright Copyright (c)2010-2014 Nicholas K. Dionysopoulos * @license GNU General Public License version 2, or later * * Initializes F0F */ defined('_JEXEC') or die; if (!defined('F0F_INCLUDED')) { define('F0F_INCLUDED', 'rev844F136-1410443902'); // Register the F0F autoloader require_once __DIR__ . '/autoloader/fof.php'; F0FAutoloaderFof::init(); // Register a debug log if (defined('JDEBUG') && JDEBUG) { F0FPlatform::getInstance()->logAddLogger('fof.log.php'); } }
/** * Public constructor. Registers the autoloader with PHP. */ public function __construct() { self::$fofPath = realpath(__DIR__ . '/../'); spl_autoload_register(array($this, 'autoload_fof_core')); }