<?php

if ( defined( 'WPEC_LOAD_DEPRECATED' ) )
	require_once( WPSC_FILE_PATH . '/wpsc-core/wpsc-deprecated.php' );

// Start including the rest of the plugin here
require_once( WPSC_FILE_PATH . '/wpsc-includes/product-template.php'                );
require_once( WPSC_FILE_PATH . '/wpsc-includes/breadcrumbs.class.php'               );
require_once( WPSC_FILE_PATH . '/wpsc-includes/variations.class.php'                );
require_once( WPSC_FILE_PATH . '/wpsc-includes/ajax.functions.php'                  );
require_once( WPSC_FILE_PATH . '/wpsc-includes/misc.functions.php'                  );
require_once( WPSC_FILE_PATH . '/wpsc-includes/mimetype.php'                        );
require_once( WPSC_FILE_PATH . '/wpsc-includes/cart.class.php'                      );
require_once( WPSC_FILE_PATH . '/wpsc-includes/checkout.class.php'                  );
require_once( WPSC_FILE_PATH . '/wpsc-includes/display.functions.php'               );
require_once( WPSC_FILE_PATH . '/wpsc-includes/theme.functions.php'                 );
require_once( WPSC_FILE_PATH . '/wpsc-includes/shortcode.functions.php'             );
require_once( WPSC_FILE_PATH . '/wpsc-includes/coupons.class.php'                   );
require_once( WPSC_FILE_PATH . '/wpsc-includes/category.functions.php'              );
require_once( WPSC_FILE_PATH . '/wpsc-includes/processing.functions.php'            );
require_once( WPSC_FILE_PATH . '/wpsc-includes/form-display.functions.php'          );
require_once( WPSC_FILE_PATH . '/wpsc-includes/merchant.class.php'                  );
require_once( WPSC_FILE_PATH . '/wpsc-includes/meta.functions.php'                  );
require_once( WPSC_FILE_PATH . '/wpsc-includes/productfeed.php'                     );
require_once( WPSC_FILE_PATH . '/wpsc-includes/image_processing.php'                );
require_once( WPSC_FILE_PATH . '/wpsc-includes/country.class.php'                   );
require_once( WPSC_FILE_PATH . '/wpsc-includes/currency.helpers.php'                );
require_once( WPSC_FILE_PATH . '/wpsc-includes/purchase-log.helpers.php'            );
require_once( WPSC_FILE_PATH . '/wpsc-includes/purchase-log-notification.class.php' );
require_once( WPSC_FILE_PATH . '/wpsc-includes/purchase-log.class.php'              );
require_once( WPSC_FILE_PATH . '/wpsc-includes/checkout-form-data.class.php'        );

// Taxes
require_once( WPSC_FILE_PATH . '/wpsc-taxes/taxes_module.php' );
require_once( WPSC_FILE_PATH . '/wpsc-includes/upgrades.php' );

// Editor
require_once( WPSC_CORE_JS_PATH . '/tinymce3/tinymce.php' );

require_once( WPSC_FILE_PATH . '/wpsc-includes/currency_converter.inc.php' );
require_once( WPSC_FILE_PATH . '/wpsc-includes/shopping_cart_functions.php' );

// Themes
require_once( WPSC_CORE_THEME_PATH . 'functions/wpsc-transaction_results_functions.php' );
require_once( WPSC_CORE_THEME_PATH . 'functions/wpsc-user_log_functions.php' );
require_once( WPSC_FILE_PATH       . '/wpsc-includes/google-analytics.class.php' );

require_once( WPSC_FILE_PATH . '/wpsc-admin/admin-form-functions.php' );
require_once( WPSC_FILE_PATH . '/wpsc-shipping/library/shipwire_functions.php' );

// Widgets
include_once( WPSC_FILE_PATH . '/wpsc-widgets/product_tag_widget.php' );
include_once( WPSC_FILE_PATH . '/wpsc-widgets/shopping_cart_widget.php' );
include_once( WPSC_FILE_PATH . '/wpsc-widgets/donations_widget.php' );
include_once( WPSC_FILE_PATH . '/wpsc-widgets/specials_widget.php' );
include_once( WPSC_FILE_PATH . '/wpsc-widgets/latest_product_widget.php' );
include_once( WPSC_FILE_PATH . '/wpsc-widgets/price_range_widget.php' );
include_once( WPSC_FILE_PATH . '/wpsc-widgets/admin_menu_widget.php' );
include_once( WPSC_FILE_PATH . '/wpsc-widgets/category_widget.php' );

// Gregs ASH Shipping
require_once( WPSC_FILE_PATH . '/wpsc-includes/shipping.helper.php' );

// Admin
if ( is_admin() )
	include_once( WPSC_FILE_PATH . '/wpsc-admin/admin.php' );

require_once( WPSC_FILE_PATH . '/wpsc-includes/cron.php' );

?>