function wpsc_beta_marketplace_bootstrap() { if (!class_exists('Sputnik')) { require_once dirname(__FILE__) . '/library/Sputnik.php'; Sputnik::$path = dirname(__FILE__); Sputnik::bootstrap(); } }
function wpec_beta_marketplace_bootstrap() { if (!get_option('_wpsc_enable_marketplace', false)) { return; } if (!class_exists('Sputnik')) { require_once dirname(__FILE__) . '/library/Sputnik.php'; Sputnik::$path = dirname(__FILE__); Sputnik::bootstrap(); } }