bootstrap.php 447 B

1234567891011121314151617
  1. <?php
  2. call_user_func(function () {
  3. if (!is_file($autoloadFile = __DIR__ . '/../vendor/autoload.php')) {
  4. throw new \RuntimeException('Did not find vendor/autoload.php. Did you run "composer install --dev"?');
  5. }
  6. /** @noinspection PhpIncludeInspection */
  7. require_once $autoloadFile;
  8. ini_set('date.timezone', 'Europe/Berlin');
  9. });
  10. // Load the api key.
  11. $ini = parse_ini_file('ApiKey.ini');
  12. $myApiKey = $ini['api_key'];