root/tags/release-1.0/wp-config-sample.php

Revision 700, 1.1 kB (checked in by donncha, 2 years ago)

Check if $base is "BASE" - thanks andrea_r
Removed old db definitions

  • Property svn:eol-style set to native
Line 
1 <?php
2 // ** MySQL settings ** //
3 define('DB_NAME', 'wordpress');    // The name of the database
4 define('DB_USER', 'username');     // Your MySQL username
5 define('DB_PASSWORD', 'password'); // ...and password
6 define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value
7 define('VHOST', 'VHOSTSETTING');
8 $base = 'BASE';
9
10 // double check $base
11 if( $base == 'BASE' )
12     die( 'Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!' );
13
14 // Change the prefix if you want to have multiple blogs in a single database.
15 $table_prefix  = 'wp_';   // example: 'wp_' or 'b2' or 'mylogin_'
16
17 // Change this to localize WordPress.  A corresponding MO file for the
18 // chosen language must be installed to wp-includes/languages.
19 // For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
20 // to enable German language support.
21 define ('WPLANG', '');
22
23 define( "WP_USE_MULTIPLE_DB", false );
24
25 /* Stop editing */
26
27 define('ABSPATH', dirname(__FILE__).'/');
28 require_once(ABSPATH.'wp-settings.php');
29 ?>
30
Note: See TracBrowser for help on using the browser.