21 lines
No EOL
520 B
PHP
Executable file
21 lines
No EOL
520 B
PHP
Executable file
<?php
|
|
/**
|
|
* Application Configuration
|
|
* Loads authentication config and environment variables
|
|
*/
|
|
|
|
// Load authentication configuration and environment variables
|
|
require_once __DIR__ . '/auth_config.php';
|
|
|
|
// Start session only if not already started
|
|
if (session_status() === PHP_SESSION_NONE) {
|
|
session_start();
|
|
}
|
|
|
|
// Configuration constants are now loaded from .env via auth_config.php:
|
|
// - PYTHON_API_URL
|
|
// - DEEPL_API_KEY
|
|
// - AZURE_CLIENT_ID
|
|
// - AZURE_AUTHORITY
|
|
// - AZURE_REDIRECT_URI
|
|
// - SESSION_TIMEOUT
|