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

13 lines
358 B
PHP
Raw Normal View History

2015-07-11 20:21:09 +02:00
<?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');
});