codex update
This commit is contained in:
@@ -1,21 +1,24 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
|
||||
require_once __DIR__ . "/domaindata.php";
|
||||
|
||||
// Umgebung (optional, aber hilfreich für Debugging / Logik)
|
||||
define('APP_ENV', 'staging'); // oder 'prod', 'local', ...
|
||||
$domaindataPath = __DIR__ . '/domaindata.php';
|
||||
if (!is_file($domaindataPath)) {
|
||||
$domaindataPath = __DIR__ . '/../domaindata.php';
|
||||
}
|
||||
require_once $domaindataPath;
|
||||
|
||||
define('APP_ENV', 'staging');
|
||||
|
||||
if (!defined('ASSET_VERSION')) {
|
||||
define('ASSET_VERSION', time()); // oder deine aktuelle Version
|
||||
define('ASSET_VERSION', time());
|
||||
}
|
||||
|
||||
// Domain-Konfiguration (kann pro Umgebung angepasst werden)
|
||||
if (!defined('APP_DOMAIN_PRIMARY')) {
|
||||
define('APP_DOMAIN_PRIMARY', 'staging.'.APP_DOMAIN_NAME);
|
||||
define('APP_DOMAIN_PRIMARY', 'staging.' . APP_DOMAIN_NAME);
|
||||
}
|
||||
if (!defined('APP_URL_PRIMARY')) {
|
||||
define('APP_URL_PRIMARY', 'https://' . APP_DOMAIN_PRIMARY);
|
||||
@@ -27,10 +30,9 @@ if (!defined('APP_URL_FAKECHECK')) {
|
||||
define('APP_URL_FAKECHECK', 'https://' . APP_DOMAIN_FAKECHECK);
|
||||
}
|
||||
|
||||
// Matomo Einstellungen
|
||||
define('MATOMO_URL', 'https://matomo.my-statistics.info/');
|
||||
define('MATOMO_ENABLED', false);
|
||||
define('MATOMO_SITE_ID', 8);
|
||||
$baseUrl = 'https://'.APP_DOMAIN_PRIMARY;
|
||||
$apiBaseUrl = 'https://api.'.APP_DOMAIN_PRIMARY;
|
||||
|
||||
$baseUrl = 'https://' . APP_DOMAIN_PRIMARY;
|
||||
$apiBaseUrl = 'https://api.' . APP_DOMAIN_PRIMARY;
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
declare(strict_types=1);
|
||||
|
||||
$DB_HOST = 'localhost';
|
||||
$DB_NAME = 'd0455edf';
|
||||
$DB_USER = 'd0455edf';
|
||||
$DB_PASS = 'fF8PhxfCibdLBrSxowIo'; // anpassen
|
||||
$DB_NAME = 'd044ae9e';
|
||||
$DB_USER = 'd044ae9e';
|
||||
$DB_PASS = '9BVUn)Töcü@ÖVÜfgO8!J'; // anpassen
|
||||
|
||||
$options = [
|
||||
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
|
||||
|
||||
Reference in New Issue
Block a user