Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
// DATABASE
define('DB_NAME', getenv('DB_NAME'));
define('DB_USER', getenv('DB_USER'));
define('DB_PASSWORD', getenv('DB_PASS'));
define('DB_HOST', getenv('DB_HOST'));
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', 'utf8_general_ci');
// SPECIFIC ENVIRONMENT CONFIGURATION
define('WP_HOME', 'http://wpbase.dev'); // Add WP_HOME TO AVOID Undefined index: host in wp-includes/pluggable.php error
define('WP_SITEURL', 'http://wpbase.dev'); // Add WP_SITEURL TO AVOID Undefined index: host in wp-includes/pluggable.php error
define('WP_THEME', '');
define('WP_THEME_MOBILE', '');
define('WP_MEMORY_LIMIT', '256M');
define('WP_MAX_MEMORY_LIMIT', '512M');
define('WPLANG', 'pt_BR');
// define('WP_DEBUG', true);
define('WP_CACHE', false);
define('DISABLE_WP_CRON', false);
define('DISALLOW_FILE_MODS', false);
define('WP_HTTP_BLOCK_EXTERNAL', false );
define('WP_ACCESSIBLE_HOSTS', ''); // Add the hosts allowed to make requests ex: 3bits.net
define('WP_POST_REVISIONS', false);
// SECURITY KEYS - Generate keys at https://api.wordpress.org/secret-key/1.1/salt/
define('AUTH_KEY', 't7P_X.QYQLpd&wR$Du<M^bfK>DN+Wjov(Lr6:lKURwt4_V+7=M|NI9^So@f<IT%i');
define('SECURE_AUTH_KEY', '8}`V |$8NJ0c@v%P9k, {;|pxi6--ZEh{SKlo}ReIiDJGpP,VE1p8+4e!@u.$hMe');
define('LOGGED_IN_KEY', ';Q{9a>=I7nI&acb$y~Z~s!<CGo8si0F_>Zrly)cUPs1?rG!:y0d-+86a%2-9:=xq');
define('NONCE_KEY', 'fe i-1@Moun%v&~e:k8c:]Al&auLs%2P3|cjkJtN=C&WsUK;$I|FcgKgY(P/XE7t');
define('AUTH_SALT', 'c*RzDoK{4&ut`es)t`6E-YZzOTmGvwxjLdZEO1:9[0-~45M:<oGOJ}Z~n-_=+G7?');
define('SECURE_AUTH_SALT', 'tL:S|A}4-b>o2EoIlMZvZse+@+]rAwX^5ev;_W@FyAEOnFvjL`5MtRaEz1o`#Sd2');
define('LOGGED_IN_SALT', 'd^fBF=-}DmZooodP.vX|d:#tyDY ez%l9E=?1[DCR6sDxLkE(&%8fu|+aRJ (!ts');
define('NONCE_SALT', '<Bv$m9BX9ZCqava65ZP*xJ]RY(%M+Jdx}4W:B+K`:(RI}J0ix:OXo`p2F&FyBJ(B');
$table_prefix = 'wpbase_'; // ADD UM CUSTOM TABLE PREFIX TO IMPROVE SECURITY OF TABLES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.