friendica-addons/curweather/vendor/cmfcmf/openweathermap-php-api/tests/bootstrap.php

13 lines
358 B
PHP

<?php
call_user_func(function () {
if (!is_file($autoloadFile = __DIR__ . '/../vendor/autoload.php')) {
throw new \RuntimeException('Did not find vendor/autoload.php. Did you run "composer install --dev"?');
}
/** @noinspection PhpIncludeInspection */
require_once $autoloadFile;
ini_set('date.timezone', 'Europe/Berlin');
});