|
1 | 1 | <?php |
2 | 2 |
|
3 | | -$outfitters_config = array( |
| 3 | +$marketplace_config = array( |
4 | 4 | 'name' => 'SampleLicenseAddon', //The matches the id value in your manifest file. This allow the library to lookup addon version from upgrade_history, so you can see what version of addon your customers are using |
5 | | - 'shortname' => 'samplelicenseaddon', //The short name of the Add-on. e.g. For the url https://marketplace.sugarcrm.com/addons/sugaroutfitters the shortname would be sugaroutfitters |
6 | | - 'public_key' => '', //The public key associated with the group |
| 5 | + 'shortname' => 'samplelicenseaddon', //The short name of the Add-on. e.g. For the url https://marketplace.sugarcrm.com/addons/sugarmarketplace the shortname would be sugarmarketplace |
| 6 | + 'public_key' => '331508e5cdffc82904af8a7af6618ec2', //The public key associated with the group |
7 | 7 | 'api_url' => 'https://marketplace.sugarcrm.com/api/v1', |
8 | | - 'validate_users' => false, |
9 | | - 'manage_licensed_users' => false, //Enable the user management tool to determine which users will be licensed to use the add-on. validate_users must be set to true if this is enabled. If the add-on must be licensed for all users then set this to false. |
| 8 | + 'validate_users' => true, |
| 9 | + 'manage_licensed_users' => true, //Enable the user management tool to determine which users will be licensed to use the add-on. validate_users must be set to true if this is enabled. If the add-on must be licensed for all users then set this to false. |
10 | 10 | 'validation_frequency' => 'weekly', //default: weekly options: hourly, daily, weekly |
11 | 11 | 'continue_url' => '', //[optional] Will show a button after license validation that will redirect to this page. Could be used to redirect to a configuration page such as index.php?module=MyCustomModule&action=config |
12 | 12 | ); |
|
19 | 19 |
|
20 | 20 | // global $sugar_version; |
21 | 21 | // if(preg_match( "/^6.*/", $sugar_version) ) { |
22 | | -// $outfitters_config['continue_url'] = 'index.php?module=SugarChimp&action=setup'; |
| 22 | +// $marketplace_config['continue_url'] = 'index.php?module=SugarChimp&action=setup'; |
23 | 23 | // } |
0 commit comments