e59-website/include/variables.php
2025-03-02 16:14:36 +00:00

30 lines
1.2 KiB
PHP
Executable File

<?php // Variables
$globalConfig = parse_ini_file('/var/www/e59/config/global.ini', true);
$rootPageURL = $globalConfig['root']['pageURL'];
$rootFilePath = $globalConfig['root']['filePath'];
$sqlDatabaseName = $globalConfig['sql']['databaseName'];
$sqlDatabaseUser = $globalConfig['sql']['databaseUser'];
$sqlDatabasePass = $globalConfig['sql']['databasePass'];
$sqlDatabaseHost = $globalConfig['sql']['databaseHost'];
$pageTitle = $globalConfig['main']['pageTitle'];
$pageName = $globalConfig['main']['pageName'];
$headerTitle = $globalConfig['main']['headerTitle'];
$headerSubtitle = $globalConfig['main']['headerSubtitle'];
$footerText = $globalConfig['main']['footerText'];
$social = $globalConfig['social'];
$recaptchaSiteKey = $globalConfig['recaptcha']['siteKey'];
$recaptchaSecretKey = $globalConfig['recaptcha']['secretKey'];
$googleAuthClientId = $globalConfig['googleAuth']['clientId'];
$googleAuthClientSecret = $globalConfig['googleAuth']['clientSecret'];
$microsoftAuthClientId = $globalConfig['microsoftAuth']['clientId'];
$darkThemes = $globalConfig['darkThemes'];
$lightThemes = $globalConfig['lightThemes'];
?>