You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
901 B
PHP
27 lines
901 B
PHP
<?php
|
|
|
|
// Files that are needed that aren't classes, as well as basic initialization
|
|
// Core requirements
|
|
define('IN_SCRIPT', 1);
|
|
define('HESK_PATH', '../');
|
|
require_once(__DIR__ . '/vendor/autoload.php');
|
|
require_once(__DIR__ . '/bootstrap.php');
|
|
require_once(__DIR__ . '/../hesk_settings.inc.php');
|
|
require_once(__DIR__ . '/../inc/common.inc.php');
|
|
require_once(__DIR__ . '/Core/output.php');
|
|
require_once(__DIR__ . '/../hesk_settings.inc.php');
|
|
require_once(__DIR__ . '/http_response_code.php');
|
|
require_once(__DIR__ . '/../inc/admin_functions.inc.php');
|
|
require_once(__DIR__ . '/../inc/htmlpurifier/HeskHTMLPurifier.php');
|
|
|
|
hesk_load_api_database_functions();
|
|
|
|
global $hesk_settings;
|
|
|
|
// HESK files that require database access
|
|
require_once(__DIR__ . '/../inc/custom_fields.inc.php');
|
|
|
|
// Load the ApplicationContext
|
|
$builder = new \DI\ContainerBuilder();
|
|
|
|
$applicationContext = $builder->build(); |