Advertisement
Guest User

Untitled

a guest
Feb 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. <?php
  2. define('FS_METHOD', 'direct');
  3.  
  4. define('DB_NAME', '<%= database['database'] %>');
  5. define('DB_USER', '<%= database['username'] %>');
  6. define('DB_PASSWORD', '<%= database['password'] %>');
  7. define('DB_HOST', '<%= database['host'] %>');
  8. define('DB_CHARSET', 'utf8');
  9. define('DB_COLLATE', '');
  10. define('WPLANG', '');
  11. define('WP_DEBUG', true);
  12.  
  13. $table_prefix = 'wp_';
  14.  
  15. <%= secret_keys %>
  16.  
  17. define('WP_HOME','<%= wp_siteurl %>');
  18. define('WP_SITEURL','<%= wp_siteurl %>/wordpress');
  19.  
  20. define('WP_CONTENT_URL', '<%= wp_siteurl %>/content');
  21.  
  22. /**
  23. * Depending on your server configuration, you may find WordPress fails to find your content (themes and plugins).
  24. * This is due to how your server returns `$_SERVER['DOCUMENT_ROOT']`. If this issue affects you, try swapping
  25. * for the `dirname(__FILE__)` method below.
  26. */
  27.  
  28. // #define('WP_CONTENT_DIR', realpath(dirname(__FILE__) . '/content'));
  29. // #define('WP_CONTENT_DIR', realpath($_SERVER['DOCUMENT_ROOT'] . '/content'));
  30. define('WP_CONTENT_DIR', $_SERVER[DOCUMENT_ROOT].'/current/content');
  31.  
  32. if ( !defined('ABSPATH') ){
  33. define('ABSPATH', dirname(__FILE__) . '/');
  34. }
  35.  
  36. require_once(ABSPATH . 'wp-settings.php');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement