Code

< 40 %
40-60 %
> 60 %
1
<?php
2
3
if (!defined('sugarEntry')) {
4
    define('sugarEntry', true);
5
}
6
/**
7
 *
8
 * SugarCRM Community Edition is a customer relationship management program developed by
9
 * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
10
 *
11
 * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
12
 * Copyright (C) 2011 - 2016 SalesAgility Ltd.
13
 *
14
 * This program is free software; you can redistribute it and/or modify it under
15
 * the terms of the GNU Affero General Public License version 3 as published by the
16
 * Free Software Foundation with the addition of the following permission added
17
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
18
 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
19
 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
20
 *
21
 * This program is distributed in the hope that it will be useful, but WITHOUT
22
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
23
 * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
24
 * details.
25
 *
26
 * You should have received a copy of the GNU Affero General Public License along with
27
 * this program; if not, see http://www.gnu.org/licenses or write to the Free
28
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
29
 * 02110-1301 USA.
30
 *
31
 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
32
 * SW2-130, Cupertino, CA 95014, USA. or at email address [email protected].
33
 *
34
 * The interactive user interfaces in modified source and object code versions
35
 * of this program must display Appropriate Legal Notices, as required under
36
 * Section 5 of the GNU Affero General Public License version 3.
37
 *
38
 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
39
 * these Appropriate Legal Notices must retain the display of the "Powered by
40
 * SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not
41
 * reasonably feasible for  technical reasons, the Appropriate Legal Notices must
42
 * display the words  "Powered by SugarCRM" and "Supercharged by SuiteCRM".
43
 */
44
45
include 'include/MVC/preDispatch.php';
46
$startTime = microtime(true);
47
require_once 'include/entryPoint.php';
48
ob_start();
49
require_once 'include/MVC/SugarApplication.php';
50
$app = new SugarApplication();
51
$app->startSession();
52
$app->execute();
53