Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // ===================================================
- // Load database info and local development parameters
- // ===================================================
- if ( file_exists( dirname( __FILE__ ) . '/local-config.php' ) ) {
- define( 'WP_LOCAL_DEV', true );
- include( dirname( __FILE__ ) . '/local-config.php' );
- } else {
- define( 'WP_LOCAL_DEV', false );
- define( 'DB_NAME', '%%DB_NAME%%' );
- define( 'DB_USER', '%%DB_USER%%' );
- define( 'DB_PASSWORD', '%%DB_PASSWORD%%' );
- define( 'DB_HOST', '%%DB_HOST%%' ); // Probably 'localhost'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement