HEX
Server: Apache
System: Linux webm002.cluster115.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: centralexf (54246)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/centralexf/www/libraries/fof/include.php
<?php
/**
 *  @package FrameworkOnFramework
 *  @copyright Copyright (c)2010-2012 Nicholas K. Dionysopoulos
 *  @license GNU General Public License version 3, or later
 */

// Protect from unauthorized access
defined('_JEXEC') or die();

/**
 * Automatic registration of FrameworkOnFramework's classes with JLoader
 * 
 * FrameworkOnFramework is a set of classes whcih extend Joomla! 1.5 and later's
 * MVC framework with features making maintaining complex software much easier,
 * without tedious repetitive copying of the same code over and over again.
 */

if(!defined('FOF_INCLUDED'))
{
	define('FOF_INCLUDED','rev6DF56A0');
	
	function fofRegisterClasses()
	{
		jimport('joomla.filesystem.folder');
		$fofPath = dirname(__FILE__);
		$fofFiles = JFolder::files($fofPath, '\.php$');
		foreach($fofFiles as $file) {
			$baseName = basename($file, '.php');
			$parts = explode('.', $baseName);
			$className = 'FOF';
			foreach($parts as $p) $className .= ucfirst($p);
			JLoader::register($className, $fofPath.'/'.$file);
		}
	}

	fofRegisterClasses();
}
?>