Skip to content

Instantly share code, notes, and snippets.

@dalizard
Created May 16, 2011 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalizard/974744 to your computer and use it in GitHub Desktop.
Save dalizard/974744 to your computer and use it in GitHub Desktop.
<?php
define("SKIP_PLUGINS", 1);
require_once "common.php";
$license = array(
'vars' => array(
'core' => array(
'multiple_template_sets' => 0,
'affiliate' => 1,
'address_validation' => 'a:1:{i:0;a:1:{s:4:"name";s:4:"usps";}}',
'google_checkout' => 1,
'paypal_express_checkout' => 1,
'bundles' => 1,
// 'max_items' => 1000, // do not count deleted/inactive
),
'shipping' => array()
),
'plugins' => array(
'shipping' => true,
'wholesale' => true,
'combine_orders' => true,
'db_tools' => true,
'reward_points' => true,
'shipping' => true,
'simple_banner' => true,
'testimonials' => true,
'order_import' => true,
'pickup' => true,
'targusinfo' => true,
'precharge' => true,
'lexis' => true,
'master' => true,
'slave' => true,
'email_tracking' => true,
'internal' => true,
'maxmind' => true,
'reward_points' => true,
'currency_conversion' => true,
'multilang' => true,
'digital_downloads' => true,
'deal_of_the_day' => true,
'bing_cashback' => true,
'inline_definition' => true,
'eexpo_custom_plugin' => true,
'item_attributes' => true,
'custom_plugin_be' => true,
'item_features' => true,
'popup' => true,
'custom_plugin_smartcats' => true,
'giftwrap' => true,
'slave' => true,
'master' => true,
'custom_plugin_be' => true,
'custom_plugin_a4l' => true,
'custom_plugin_mpgear' => true,
'custom_plugin_tea_outlet' => true,
'item_recurrence' => true,
'quote' => true,
'royalty' => true
),
'themes' => array(
'default' => true,
'f1_theme' => true,
'f2_theme' => true,
'f3_theme' => true,
'clarity' => true,
),
'payment_gateways' => array(
'inspire' => true,
),
'max_items' => 1000,
'max_categories' => 1000,
'max_admins' => 10,
'free' => true,
'custom_ssl' => false,
'clouds' => 1,
'disk_space' => 1024, // MB
'bandwidth' => 10, // GB
'no_powered_by' => true,
);
$lc = license::generate($license, 'foobar');
set_var('license_key', $lc);
license::check();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment