Files
CRM/index.php
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

45 lines
1.6 KiB
PHP

<?php
/*+**********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
************************************************************************************/
//Overrides GetRelatedList : used to get related query
//TODO : Eliminate below hacking solution
include_once 'config.php';
include_once 'include/Webservices/Relation.php';
include_once 'vtlib/Vtiger/Module.php';
include_once 'includes/main/WebUI.php';
// ob_end_clean();
// header("X-Frame-Options: deny");
// header("X-Content-Type-Options: nosniff");
// header("Referrer-Policy: same-origin");
// header("Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src * data:;");
// header("Strict-Transport-Security: max-age=31536000; includeSubDomains; preload");
// header("X-XSS-Protection: 1; mode=block");
// $use_sts = true;
// // iis sets HTTPS to 'off' for non-SSL requests
// if ($use_sts && isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') {
// } elseif ($use_sts) {
// header('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], true, 301);
// // we are in cleartext at the moment, prevent further execution and output
// die();
// }
//phpinfo();
$webUI = new Vtiger_WebUI();
$webUI->process(new Vtiger_Request($_REQUEST, $_REQUEST));