bootstrap.php 497 B

1234567891011121314151617
  1. <?php
  2. declare(strict_types=1);
  3. date_default_timezone_set('UTC');
  4. ini_set('error_reporting', (string) (E_ALL | E_STRICT | E_DEPRECATED));
  5. // Composer autoloader
  6. if (file_exists(__DIR__.'/../vendor/autoload.php')) {
  7. include __DIR__.'/../vendor/autoload.php';
  8. } else {
  9. // We may be running as a dependency inside some other repo.
  10. // So we are probably in vendor/sabre/http/tests of that repo.
  11. // Go up 3 levels to find autoload.php
  12. include __DIR__.'/../../../autoload.php';
  13. }