<?php
/**
 * Boot code for Francis library
 */

// Construct root path
$francis_root = realpath( dirname( __FILE__ ) . '/../' );

// Set include path
// Not used atm
// set_include_path(get_include_path() . PATH_SEPARATOR );

// Include external libs
require_once $francis_root . '/lib/phpFastCache2/phpfastcache/phpfastcache.php';
require_once $francis_root . '/lib/ChromePhp/ChromePhp.php';
require_once $francis_root . '/lib/PHPMailer/PHPMailerAutoload.php';

require_once $francis_root . '/src/core/Francis_Core_Autoloader.php';
require_once $francis_root . '/src/core/Francis_Core_Locator.php';

Francis_Core_Autoloader::init();
Francis_Core_Autoloader::attachLocator( new Francis_Core_Locator( 'Francis', $francis_root . '/src' ) );
