/wp-config.php

https://gitlab.com/endomorphosis/reservationtelco · PHP · 91 lines · 36 code · 10 blank · 45 comment · 9 complexity · bd37c91303239ea428a2faded80910d8 MD5 · raw file

  1. <?php
  2. /**
  3. * The base configurations of the WordPress.
  4. *
  5. * This file has the following configurations: MySQL settings, Table Prefix,
  6. * Secret Keys, WordPress Language, and ABSPATH. You can find more information by
  7. * visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
  8. * wp-config.php} Codex page. You can get the MySQL settings from your web host.
  9. *
  10. * This file is used by the wp-config.php creation script during the
  11. * installation. You don't have to use the web site, you can just copy this file
  12. * to "wp-config.php" and fill in the values.
  13. *
  14. * @package WordPress
  15. */
  16. // ** MySQL settings - You can get this info from your web host ** //
  17. /** The name of the database for WordPress */
  18. define('WP_CACHE', false); //Added by WP-Cache Manager
  19. $location = $_SERVER['SERVER_NAME']; // This checks to see where the website is located.
  20. if($location == 'reservation-telephone-company.pivotgroupdev.com' || $location == 'www.reservation-telephone-company.pivotgroupdev.com') {
  21. define('DB_NAME', 'barberb_reserv');
  22. define('DB_USER', 'barberb_barberb');
  23. define('DB_PASSWORD', 'F9extous');
  24. define('DB_HOST', 'localhost');
  25. } elseif ($location == 'localhost') {
  26. define('DB_NAME', 'cv90nfdc');
  27. define('DB_USER', 'root');
  28. define('DB_PASSWORD', 'root');
  29. define('DB_HOST', 'localhost');
  30. } elseif ($location == 'www.reservationtel.com' || $location == 'reservationtelcom.com') {
  31. define('DB_NAME', 'cv90nfdc');
  32. define('DB_USER', 'cv90nfdc');
  33. define('DB_PASSWORD', 'ty32w78yerge');
  34. define('DB_HOST', 'localhost');
  35. }
  36. define('DB_NAME', 'barberb_reserv');
  37. define('DB_USER', 'barberb_barberb');
  38. define('DB_PASSWORD', 'F9extous');
  39. define('DB_HOST', 'localhost');
  40. $location ='http://reservation.barberb.net';
  41. define('WP_HOME', 'http://reservation.barberb.net');
  42. /** Database Charset to use in creating database tables. */
  43. define('DB_CHARSET', 'utf8');
  44. /** The Database Collate type. Don't change this if in doubt. */
  45. define('DB_COLLATE', '');
  46. /**#@+
  47. * Authentication Unique Keys.
  48. *
  49. * Change these to different unique phrases!
  50. * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
  51. * 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.
  52. *
  53. * @since 2.6.0
  54. */
  55. define('AUTH_KEY', 'put your unique phrase here');
  56. define('SECURE_AUTH_KEY', 'put your unique phrase here');
  57. define('LOGGED_IN_KEY', 'put your unique phrase here');
  58. define('NONCE_KEY', 'put your unique phrase here');
  59. /**#@-*/
  60. /**
  61. * WordPress Database Table prefix.
  62. *
  63. * You can have multiple installations in one database if you give each a unique
  64. * prefix. Only numbers, letters, and underscores please!
  65. */
  66. $table_prefix = 'wp_';
  67. /**
  68. * WordPress Localized Language, defaults to English.
  69. *
  70. * Change this to localize WordPress. A corresponding MO file for the chosen
  71. * language must be installed to wp-content/languages. For example, install
  72. * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
  73. * language support.
  74. */
  75. define ('WPLANG', '');
  76. /* That's all, stop editing! Happy blogging. */
  77. /** Absolute path to the WordPress directory. */
  78. if ( !defined('ABSPATH') )
  79. define('ABSPATH', dirname(__FILE__) . '/');
  80. /** Sets up WordPress vars and included files. */
  81. require_once(ABSPATH . 'wp-settings.php');