PHP 7.4.33
Preview: wp-config.php Size: 4.27 KB
/var/www/candid-stg.bitkit.dk/httpdocs/wp-config.php
<?php

/**
 * The base configuration for WordPress
 *
 * The wp-config.php creation script uses this file during the installation.
 * You don't have to use the website, you can copy this file to "wp-config.php"
 * and fill in the values.
 *
 * This file contains the following configurations:
 *
 * * Database settings
 * * Secret keys
 * * Database table prefix
 * * ABSPATH
 *
 * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
 *
 * @package WordPress
 */

// Get the current domain
$current_domain = $_SERVER['HTTP_HOST'];

// Define database credentials based on the domain
switch ($current_domain) {
	case 'candid-dev.bitkit.dk':
		define('DB_NAME', 'candiddev_db');
		define('DB_USER', 'candiddev_user');
		define('DB_PASSWORD', '99XB0yur67824q3r82#');
		define('DB_HOST', 'localhost');
		break;

	case 'candid-stg.bitkit.dk':
		define('DB_NAME', 'candidstg_db');
		define('DB_USER', 'candidstg_user');
		define('DB_PASSWORD', 'ewart6w4tryeGAaab8%');
		define('DB_HOST', 'localhost');
		// define('DB_NAME', 'candidstage_db');
		// define('DB_USER', 'candidstage_user');
		// define('DB_PASSWORD', '347865tSRAaab8%');
		// define('DB_HOST', 'localhost');
		break;

	default:
		die('Error: Unknown domain. Please check your configuration.');
}

// Optional: Define unique keys and salts for each site if needed
if ($current_domain === 'candid-dev.bitkit.dk') {
	define('AUTH_KEY',         '32vz-]P,DG(,y$Ib(fP?68kRhh%WK]t@.`j#J,11G2YHa)ZtvaJEd(!?U h~)wj/');
	define('SECURE_AUTH_KEY',  'n!^iseDsj3eNnM)U*Z3C[Zth,xKCd nk:TV)${` g2tHAu.s?Ee8XQG;s$+d?gd4');
	define('LOGGED_IN_KEY',    'w.G_4T|9(jTRJ7^S2TJ?{Vv<l*fe,Pt1#q}StERz%:U=i_/Ngfran]u(w1%LkOWe');
	define('NONCE_KEY',        '5wHRnW]=TN:ZEx6skqc>)i5`t;o:M1]s)U4n.+Qb9Hsw2:WLlUPHRwO(S3Tj</gl');
	define('AUTH_SALT',        '6@IBGi^5MmBJ[Fz|viU`g28B5YAG&aY4*a~,gj6)ohVs8(B}#}-_d@mSD>.~_y16');
	define('SECURE_AUTH_SALT', 'w{p]]$v+yNV9!HM|&C<SBj1E,9=^(a49rp<M8qL;/`0T*@iybD,j3A)0E{V3GVX ');
	define('LOGGED_IN_SALT',   't3i8pm^]aiSkw9[HhZQnK{u>u%IZ@uzcSyUHK,pc0_z2^8mQdL[HE,Si8h0QZ[ZK');
	define('NONCE_SALT',       'tnzRCV6s%/gv_}B=*ZRzRb}9d}fb[eV-;mZGuTSv]Nc7[O2LeQz1s}pLva`.f2Lq');
} elseif ($current_domain === 'candid-stg.bitkit.dk') {
	define('AUTH_KEY',         '84yOH(;jdJ-0_MW^rH]/|U>_WuI>3c(A4-Ld`ON^}Dz2m,r#ev<j,_g&%fS|&AHj');
	define('SECURE_AUTH_KEY',  '|DS76|4-Fy+=1&2 DpLOZ4}E`IB6MFsMo*VG.1^r+MLrW:`NAI|_>4$|g|UJ(ggX');
	define('LOGGED_IN_KEY',    'y~-(DVi|h:x+#gyuyj<+}A9<.C.j1#3q<<?S_p3xuvjE#rd$GYmuSFQBokV[FU|<');
	define('NONCE_KEY',        'SFvE*qt;Gp@F28|BO.-ZSvH<h$;q(@B7#{n`p|6e|8M#Cmz+#3hkc+YIUb=m,)pL');
	define('AUTH_SALT',        'n9@IO[wwENw(xa#Bvw0eEr)qzA1tiD(k06h1dYi#fohv^1+{+SC/ *D*2%~qS+us');
	define('SECURE_AUTH_SALT', 'AVO00(<}kWB%VGETYiu(t4imOHDPej;[-2d57 !Mj.UT%E9dR=id%:<m,{}JnTP9');
	define('LOGGED_IN_SALT',   'DGgK[x9Xh7R*dV@E=lK}(bA~#Z]ztJKP{;@lYOgV+{D r:ihB`=L>IdE$xCnMqtN');
	define('NONCE_SALT',       '!TpGAdciCE+%0.#NyWYx+z&fhk,6j*5A2LI0*x(43g&3`yTC+VB,z;kcgUaGz1DL');
}

define('DISALLOW_FILE_EDIT', true);

/**
 * WordPress database table prefix.
 *
 * You can have multiple installations in one database if you give each
 * a unique prefix. Only numbers, letters, and underscores please!
 */
$table_prefix = 'wp_';

/**
 * For developers: WordPress debugging mode.
 *
 * Change this to true to enable the display of notices during development.
 * It is strongly recommended that plugin and theme developers use WP_DEBUG
 * in their development environments.
 *
 * For information on other constants that can be used for debugging,
 * visit the documentation.
 *
 * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
 */
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('FS_METHOD', 'direct');
define('GRAPHQL_DEBUG', true);
define('WP_MEMORY_LIMIT', '256M');
define('AUTOSAVE_INTERVAL', 86400);

/* Add any custom values between this line and the "stop editing" line. */



/* That's all, stop editing! Happy publishing. */

/** Absolute path to the WordPress directory. */
if (! defined('ABSPATH')) {
	define('ABSPATH', __DIR__ . '/');
}

/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';

Directory Contents

Dirs: 4 × Files: 24
Name Size Perms Modified Actions
- drwxr-xr-x 2026-03-24 23:58:48
Edit Download
wp-admin DIR
- drwxr-xr-x 2025-01-28 07:18:06
Edit Download
- drwxr-xr-x 2025-12-24 06:33:52
Edit Download
- drwxr-xr-x 2025-12-17 12:03:18
Edit Download
702 B lrw-r--r-- 2025-10-03 10:09:48
Edit Download
50 B lrw-r--r-- 2025-01-31 16:48:36
Edit Download
405 B lrw-r--r-- 2025-01-28 07:18:06
Edit Download
19.44 KB lrw-r--r-- 2025-12-17 12:03:18
Edit Download
2.14 KB lrw-r--r-- 2026-05-05 06:55:10
Edit Download
7.25 KB lrw-r--r-- 2026-03-11 19:54:17
Edit Download
28 B lrw-r--r-- 2025-03-14 07:51:09
Edit Download
7.18 KB lrw-r--r-- 2025-12-17 12:03:18
Edit Download
351 B lrw-r--r-- 2025-01-28 07:18:06
Edit Download
2.27 KB lrw-r--r-- 2025-01-28 07:18:06
Edit Download
3.47 KB lrw-r--r-- 2025-01-28 07:18:06
Edit Download
3.26 KB lrw-r--r-- 2025-12-17 12:03:18
Edit Download
4.27 KB lrw-r--r-- 2025-04-24 12:48:25
Edit Download
3.42 GB lrw-rw-r-- 2025-03-27 06:50:20
Edit Download
5.49 KB lrw-r--r-- 2025-01-28 07:19:12
Edit Download
2.43 KB lrw-r--r-- 2025-12-17 12:03:18
Edit Download
3.84 KB lrw-r--r-- 2025-01-28 07:19:14
Edit Download
50.23 KB lrw-r--r-- 2025-12-17 12:03:18
Edit Download
8.52 KB lrw-r--r-- 2025-12-17 12:03:18
Edit Download
30.33 KB lrw-r--r-- 2025-12-17 12:03:18
Edit Download
33.71 KB lrw-r--r-- 2025-12-01 12:20:56
Edit Download
5.09 KB lrw-r--r-- 2025-12-17 12:03:18
Edit Download
3.13 KB lrw-r--r-- 2025-12-01 12:20:57
Edit Download
29 B lrw-r--r-- 2025-01-28 07:05:25
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).