Skip to content

Instantly share code, notes, and snippets.

@peterdemartini
Created December 20, 2013 16:54
Show Gist options
  • Select an option

  • Save peterdemartini/8057796 to your computer and use it in GitHub Desktop.

Select an option

Save peterdemartini/8057796 to your computer and use it in GitHub Desktop.
SugarCRM entryPoint in the root of Sugar. Great for scripts.
<?php
if(!defined('sugarEntry'))define('sugarEntry', true);
chdir(realpath(dirname(__FILE__)));
require_once('include/entryPoint.php');
//Running with SugarCRM
//Custom Code Goes below here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment