Location: PHPKode > projects > Mocovie web framework > backend/pre.php
<?php
require '../settings.php';
function_exists('require_once_path') or require $GLOBALS['library'].'requirepath.php';
require_once_path($GLOBALS['library'].'autoload/');
class_exists('WritableXMLFS') or require $GLOBALS['filesystemsLibrary'].'WritableXMLFS.php';
class_exists('FSHelper') or require 'FSHelper.php';

ControlFactory::addPool(new DirectoryIterator($GLOBALS['commonControls']));
if(is_dir($GLOBALS['userControls']))
	ControlFactory::addPool(new DirectoryIterator($GLOBALS['userControls']));
$GLOBALS['filesystem'] = new WritableXMLFS
	( file_exists($GLOBALS['filesystemDefinition']->path)
	?
		$GLOBALS['filesystemDefinition']->path
	:
		$GLOBALS['filesystemDefinition']->default
	);
Return current item: Mocovie web framework