<?php

use \ModulesGarden\Servers\OpenXchange\Core\ModuleConstants;
use \ModulesGarden\Servers\OpenXchange\Core\ServiceLocator;
use \ModulesGarden\Servers\OpenXchange\Core\FileReader\PathValidator;
use \ModulesGarden\Servers\OpenXchange\Core\FileReader\File;
use \ModulesGarden\Servers\OpenXchange\Core\DependencyInjection\Builder;
use \ModulesGarden\Servers\OpenXchange\Core\DependencyInjection\Services;

if (!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
if (!defined('PS')) define('PS', PATH_SEPARATOR);
if (!defined('CRLF')) define('CRLF', "\r\n");

require_once dirname(__DIR__) . DS . "vendor" . DS . "autoload.php";

/**
 * Initialize base values
 */
ModuleConstants::initialize();

/**
 * Initailize DI builder
 */
new Builder();

/**
 * Initialize Services
 */
new Services();


