· 5 years ago · Dec 07, 2019, 05:58 PM
1<?php
2/**
3 * The base configuration for WordPress
4 *
5 * The wp-config.php creation script uses this file during the
6 * installation. You don't have to use the web site, you can
7 * copy this file to "wp-config.php" and fill in the values.
8 *
9 * This file contains the following configurations:
10 *
11 * * MySQL settings
12 * * Secret keys
13 * * Database table prefix
14 * * ABSPATH
15 *
16 * @link https://codex.wordpress.org/Editing_wp-config.php
17 *
18 * @package WordPress
19 */
20
21// ** MySQL settings - You can get this info from your web host ** //
22include('sawp_private/local/.sawpconfig.php');
23
24/**#@+
25 * Authentication Unique Keys and Salts.
26 *
27 * Change these to different unique phrases!
28 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
29 * 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.
30 *
31 * @since 2.6.0
32 */
33
34
35// ** MySQL settings - You can get this info from your web host ** //
36/** The name of the database for WordPress */
37define( 'DB_NAME', 'makadam' );
38
39/** MySQL database username */
40define( 'DB_USER', 'root' );
41
42/** MySQL database password */
43define( 'DB_PASSWORD', 'password' );
44
45/** MySQL hostname */
46define( 'DB_HOST', 'localhost' );
47
48
49define('AUTH_KEY', 'aVh#r}f@~:;lGpOY]Z&B9TT|muJ9()5#aITi38&f.)/)49j6a/Xj1Fuq1=OmlZL]');
50define('SECURE_AUTH_KEY', ';,*z@>FPe@fEZ:w,zHJ^qrjcK^+q^*ol6[#R`05xo2*%d8R=mnU<h1jn6Dg.h&50');
51define('LOGGED_IN_KEY', '~sP$N10IMz>Edcd5L~Ce1WsPh@c4/v(!2ew+][ )$+rFLM@@tpOs`XAo;;F#uFu}');
52define('NONCE_KEY', '+znlkh<s#Qf&#M+}t-n b hESglON(0c},VFG/BG{Z]#j[7ID6O}cmM$>,|A#;FL');
53define('AUTH_SALT', 'OHdk#^M`**P-@+6[^hl?<QqmXtQ|nH!{d)OGxmpN7@?:}V4S1c=RxP(|V]P^/*RE');
54define('SECURE_AUTH_SALT', '~,93023OYVVlYODb,=Pl?>v=59O/M32i{0J~z k=W:=q4t]E3ECOi.~ %i^ E_ G');
55define('LOGGED_IN_SALT', 'n^RYsIS@.9k!-U;4aOlwW#`|w4,+S,~pP7#-~Ejg)c6{dD-E3lr,et=MM&pj+q2H');
56define('NONCE_SALT', 'nT_Wzr3Q7P,0~%tmu8j5Mjmf+4Km _Jfjd) hKx)<`oO74sH~dWWP4NG&)_[T@hn');
57
58/**#@-*/
59
60/**
61 * WordPress Database Table prefix.
62 *
63 * You can have multiple installations in one database if you give each
64 * a unique prefix. Only numbers, letters, and underscores please!
65 */
66$table_prefix = 'wp_';
67
68/**
69 * For developers: WordPress debugging mode.
70 *
71 * Change this to true to enable the display of notices during development.
72 * It is strongly recommended that plugin and theme developers use WP_DEBUG
73 * in their development environments.
74 *
75 * For information on other constants that can be used for debugging,
76 * visit the Codex.
77 *
78 * @link https://codex.wordpress.org/Debugging_in_WordPress
79 */
80define('WP_DEBUG', false);
81/**
82define('WP_DEBUG_LOG', '/tmp/nil-wp-errors.log');
83define('SCRIPT_DEBUG', true);
84define('SAVEQUERIES', true);
85*/
86
87/** Absolute path to the WordPress directory. */
88if ( !defined('ABSPATH') ){
89 define('ABSPATH', dirname(__FILE__) . '/');
90 }
91if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
92 $_SERVER['HTTPS']='on';
93 $_SERVER['SERVER_PORT'] = 443;
94
95if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
96 $_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'];
97}
98
99if(isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
100 $list = explode(',',$_SERVER['HTTP_X_FORWARDED_FOR']);
101 $_SERVER['REMOTE_ADDR'] = $list[0];
102}
103define('WP_HOME','https://makadam.travel');
104define('WP_SITEURL','https://makadam.travel'); //replace this!
105/** define('FORCE_SSL_ADMIN', true); */
106
107/** Sets up WordPress vars and included files. */
108require_once(ABSPATH . 'wp-settings.php');
109
110/** define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] ); */
111
112include('sawp_private/sa_update_options.php');