File: bootstrap.php

package info (click to toggle)
php-sabre-vobject 2.1.7-6.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 1,172 kB
  • sloc: php: 6,487; makefile: 17; xml: 16
file content (15 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

date_default_timezone_set('UTC');

$try = array(
    __DIR__ . '/../lib/Sabre/VObject/autoload.php',
    '/usr/share/php/Sabre/VObject/autoload.php',
);

foreach($try as $path) {
    if (file_exists($path)) {
        include $path;
        break;
    }
}