1<?php
2
3date_default_timezone_set('UTC');
4
5$try = array(
6    __DIR__ . '/../vendor/autoload.php',
7    __DIR__ . '/../../../autoload.php',
8);
9
10foreach($try as $path) {
11    if (file_exists($path)) {
12        $autoLoader = include $path;
13        break;
14    }
15}
16
17$autoLoader->addPsr4('Sabre\\VObject\\',__DIR__ . '/VObject');
18
19if (!defined('SABRE_TEMPDIR')) {
20  define('SABRE_TEMPDIR', __DIR__ . '/temp/');
21}
22
23if (!file_exists(SABRE_TEMPDIR)) {
24  mkdir(SABRE_TEMPDIR);
25}
26