Add an entry to the SugarCRM entry point file.
Modify /custom/include/MVC/Controller/entry_point_registry.phpand add the following:
$entry_point_registry['my_entry_point'] = array('file' => 'custom/mypath/myscript.php', 'auth' => true);
Go to http://localhost/index.php?entryPoint=my_entry_point.
The last way 'auth' => truemeans that the user must be registered with sugarCRM.
source
share