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

// Construct root path
$ahdb_root = realpath( dirname( __FILE__ ) );

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

// Include external libs
// Not used atm
// 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 $ahdb_root . '/core/AHDB_Core_Autoloader.php';
require_once $ahdb_root . '/core/AHDB_Core_Locator.php';

AHDB_Core_Autoloader::init();
AHDB_Core_Autoloader::attachLocator( new AHDB_Core_Locator( 'AHDB', $ahdb_root ) );
