wp-config-sample.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. if ( file_exists( dirname( __FILE__ ) . '/wp-local-config.php' ) ) {
  3. define( 'WP_LOCAL_DEV', true );
  4. include( dirname( __FILE__ ) . '/wp-local-config.php' );
  5. } else {
  6. define('DB_NAME', '');
  7. define('DB_USER', '');
  8. define('DB_PASSWORD', '');
  9. define('DB_HOST', '127.0.0.1');
  10. define('DB_CHARSET', 'utf8');
  11. define('DB_COLLATE', '');
  12. }
  13. //define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . '/app' );
  14. //define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/app' );
  15. define('AUTH_KEY', '');
  16. define('SECURE_AUTH_KEY', '');
  17. define('LOGGED_IN_KEY', '');
  18. define('NONCE_KEY', '');
  19. define('AUTH_SALT', '');
  20. define('SECURE_AUTH_SALT', '');
  21. define('LOGGED_IN_SALT', '');
  22. define('NONCE_SALT', '');
  23. $table_prefix = 'wp_';
  24. define('WP_DEBUG', true);
  25. define( 'WP_DEBUG_DISPLAY', true );
  26. ini_set( 'display_errors', 1 );
  27. define('AUTOSAVE_INTERVAL', 720 );
  28. define('WP_POST_REVISIONS', 2);
  29. define('WP_MEMORY_LIMIT', '128M');
  30. if ( !defined('ABSPATH') )
  31. define('ABSPATH', dirname(__FILE__) . '/wp/');
  32. require_once(ABSPATH . 'wp-settings.php');
  33. ?>