/
var
/
www
/
html
/
sugar13
/
include
/
MVC
/
Upload File
HOME
<?php if(!defined('sugarEntry'))define('sugarEntry', true); /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then do not * install or use this SugarCRM file. * * Copyright (C) SugarCRM Inc. All rights reserved. */ /* * First step in removing getimage and getYUIComboFile -- at least this bypasses most of the app, * making assets load faster. */ if( isset($_GET["entryPoint"]) ) { require_once 'vendor/autoload.php'; $GLOBALS['log'] = new SugarNullLogger(); if ($_GET["entryPoint"] == "getImage") { SugarAutoLoader::requireWithCustom('include/SugarMetric/Helper.php'); SugarMetric_Helper::run('image'); include("include/SugarTheme/getImage.php"); die(); } else if($_GET["entryPoint"] == "getYUIComboFile") { SugarMetric_Helper::run('YUIComboFile'); include("include/javascript/getYUIComboFile.php"); die(); } }