Example #1
0
	define('TAX_BREAKDOWN_RATE', 1);
	define("FEATURE_AVAILABLE_LIVE_EBAY_LISTING", 1);

	define('ISC_NESTEDSET_DEPTH_ALL', -1);
	define('ISC_NESTEDSET_START_ROOT', 0);

	if (version_compare(PHP_VERSION, PHP_VERSION_REQUIRED, '<')) {
		die("<h1>PHP ".PHP_VERSION_REQUIRED." or higher is required to run Unreal Shopping Cart.</h1>");
	}

	$GLOBALS['ProductVersion'] = PRODUCT_VERSION;

	// Register our autoloader
	require_once(ISC_BASE_PATH.'/lib/Interspire/Autoloader.php');
	Interspire_Autoloader::addPath(ISC_BASE_PATH.'/lib');
	Interspire_Autoloader::register();

	require_once(ISC_BASE_PATH.'/lib/general.php');
	require_once(ISC_BASE_PATH.'/lib/pricing.php');
	require_once(ISC_BASE_PATH.'/lib/multibyte.php');
	require_once(ISC_BASE_PATH . "/lib/orders.php");
	require_once(ISC_BASE_PATH . "/lib/shipping.php");
	require_once(ISC_BASE_PATH . "/lib/notification.php");
	require_once(ISC_BASE_PATH . "/lib/analytics.php");
	require_once(ISC_BASE_PATH . "/lib/addons.php");
	require_once(ISC_BASE_PATH . "/lib/checkout.php");
	require_once(ISC_BASE_PATH . "/lib/currency.php");
	require_once(ISC_BASE_PATH . "/lib/ssl.php");
	require_once(ISC_BASE_PATH . "/lib/templates/template.php");
	require_once(ISC_BASE_PATH . "/lib/templates/panel.php");
	require_once(ISC_BASE_PATH . "/lib/templates/products_panel.php");