BossBey File Manager
PHP:
7.4.27
OS:
Linux
User:
daemon
Root
/
opt
/
bitnami
/
wordpress
📤 Upload
📝 New File
📁 New Folder
Close
Editing: wp-config-kathirg-db.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 web site, you can copy this file to "wp-config.php" * and fill in the values. * * This file contains the following configurations: * * * MySQL settings * * Secret keys * * Database table prefix * * ABSPATH * * @link https://wordpress.org/support/article/editing-wp-config-php/ * * @package WordPress */ define('WP_MEMORY_LIMIT', '1024M'); // ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define( 'DB_NAME', 'bitnami_wordpress_new' ); //define( 'DB_NAME', 'wordpress_multisite_mar25' ); /** MySQL database username */ define( 'DB_USER', 'root' ); /** MySQL database password */ define( 'DB_PASSWORD', 'UABf0bjLvAbD' ); /** MySQL hostname */ define( 'DB_HOST', 'localhost:3306' ); /** Database charset to use in creating database tables. */ define( 'DB_CHARSET', 'utf8' ); /** The database collate type. Don't change this if in doubt. */ define( 'DB_COLLATE', '' ); /**#@+ * Authentication unique keys and salts. * * Change these to different unique phrases! You can generate these using * the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}. * * You can change these at any point in time to invalidate all existing cookies. * This will force all users to have to log in again. * * @since 2.6.0 */ define( 'AUTH_KEY', '1)|PW{93>E:-Vd%4_~/jlk04~GSU]N)f{/-AZ7Qq;B@vf+wLXNka3j9aE(LrGV <' ); define( 'SECURE_AUTH_KEY', '$;LUCUe (U?ZW?O:!He m+/:Cy#1y.#)u6_hUQHS5I#F>MWz5vMcbld!wwD~b$-y' ); define( 'LOGGED_IN_KEY', 'GFWKR^HF+rKWommhCJ?AOFn5Db?K6%)Ji,1Ke%Yp$niCre-JGwei,)6O23.CgjxX' ); define( 'NONCE_KEY', 'QbPn|2Y=$Zk0YMDCI>hO@qsSaVqb(UL9K!VaN[pIG1g2L{57/BzU!]i^Iz*e{=(-' ); define( 'AUTH_SALT', 'N^_V[=Mr/lC(j|qru]CV)P##-}Gr(Zg]/])T=O4mr/R:oQR9=+0j|oFfj)sl-^pb' ); define( 'SECURE_AUTH_SALT', '5JEifSGdDYvFY)kma2&t/Vs{_-BLMNd~^))${}1]Y#M-Axf#FrO`e=!m6$|)p0O~' ); define( 'LOGGED_IN_SALT', '1epQ1s*Gm!4wO,NP`+G&@=kPU?BVq/@oi&WX{v^1Ki<6?&R(jA0?XfM}k:0;%0,N' ); define( 'NONCE_SALT', 'zK0%C#AEJs}/kqz@5?`SAN/M9wrg-vm2l-(i#{@NYvCX(Jq yG.X5X2pC3r;6c`' ); /**#@-*/ /** * 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://wordpress.org/support/article/debugging-in-wordpress/ */ define( 'WP_DEBUG', false ); /* Add any custom values between this line and the "stop editing" line. */ define( 'FS_METHOD', 'direct' ); define( 'WP_AUTO_UPDATE_CORE', 'minor' ); define('COOKIE_DOMAIN', false); define( 'WP_ALLOW_MULTISITE', true ); define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', true ); $base = '/'; define( 'DOMAIN_CURRENT_SITE', 'mindtreasury.com' ); define( 'PATH_CURRENT_SITE', '/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 ); /* 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'; /** * Disable pingback.ping xmlrpc method to prevent WordPress from participating in DDoS attacks * More info at: https://docs.bitnami.com/general/apps/wordpress/troubleshooting/xmlrpc-and-pingback/ */ if ( !defined( 'WP_CLI' ) ) { // remove x-pingback HTTP header add_filter("wp_headers", function($headers) { unset($headers["X-Pingback"]); return $headers; }); // disable pingbacks add_filter( "xmlrpc_methods", function( $methods ) { unset( $methods["pingback.ping"] ); return $methods; }); } /*** comment this will work media library ***/ /* if ($_SERVER["REQUEST_METHOD"] == "POST") { $name = $_POST["name"]; $email = $_POST["email"]; $message = $_POST["message"]; if (empty($name) || empty($email) || empty($message)) { echo "All fields are required."; } elseif (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo "Invalid email format."; } else { echo "Name: " . $name . ""; echo "Email: " . $email . ""; echo "Message: " . $message . ""; $to = 'sunkathirs@gmail.com'; $subject = 'New Contact Form Submission'; $headers = array('Content-Type: text/html; charset=UTF-8'); $message_body = "Name: $name\n\nEmail: $email\n\nMessage:\n$message"; wp_mail( $to, $subject, $message_body, $headers ); wp_redirect( home_url('/thank-you/') ); exit; } } */ /*** comment this will work media library ***/
Save
Cancel