You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.2 KiB
PHP

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?php
// igdb-settings.php
// CORS gleiche Origins wie bei multimedia
const IGDB_ALLOWED_ORIGINS = [
'https://windesign.at',
'https://multimedia.windesign.at',
'https://api.windesign.at',
'https://preview.flutlab.io',
'https://*.flutlab.io',
'http://localhost:*',
'http://127.0.0.1:*',
'https://localhost:*',
'https://127.0.0.1:*',
];
define('DATABASE_NAME', 'multimediaFlutter');
define('DATABASE_USER', 'multimediaFlutter');
define('DATABASE_PASSWORD', 'WeissIchNicht8');
define('DATABASE_HOST', 'localhost');
// Twitch / IGDB OAuth
define('TWITCH_CLIENT_ID', 'jnmt5hzqcrt7iitrvxckli0qfqa8bp');
define('TWITCH_CLIENT_SECRET', 'iop63242aj4atxjruwbw2p2r11ho4g');
// Basis-URLs
define('TWITCH_TOKEN_URL', 'https://id.twitch.tv/oauth2/token');
define('IGDB_BASE_URL', 'https://api.igdb.com/v4');
// Token-Cache (kannst du beliebig verschieben)
define('IGDB_TOKEN_CACHE_FILE', __DIR__ . '/igdb_token_cache.json');
// Debug-Flag für Logging
define('IGDB_DEBUG', true);
// Wikipedia
define('WIKI_DE_API_URL', 'https://de.wikipedia.org/w/api.php');
define('WIKI_USER_AGENT', 'MultimediaFlutter/1.0 (https://windesign.at; Herwig.Birke@windesign.at)');