Skip to content

Instantly share code, notes, and snippets.

@eggsurplus
Created November 15, 2012 16:48
Show Gist options
  • Select an option

  • Save eggsurplus/4079690 to your computer and use it in GitHub Desktop.

Select an option

Save eggsurplus/4079690 to your computer and use it in GitHub Desktop.
Saving Admin Options For A Custom SugarCRM Module - SaveConfig
require_once('modules/Administration/Administration.php');
$administration = new Administration();
//do data validation, etc here
//....
//save the setting to the config table
$administration->saveSetting("abc_Module", "api_url", $_REQUEST['api_url']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment