blob: 38599b326a4f1c22c21c5d5bb91747ab615020df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
<?php
/** WordPress's config file **/
/** http://wordpress.org/ **/
// ** MySQL settings ** //
if (!@include "../conf/general") {
if (!@include "../../conf/general") {
if (!@include "../../../conf/general") {
if (!@include(dirname(__FILE__) . "../../../conf/general")) {
print "Error including conf/general in wp-config.php on code.fixmystreet.com WordPress";
exit;
}
}
}
}
define('DB_NAME', OPTION_FMSBLOG_DB_NAME); // The name of the database
define('DB_USER', OPTION_FMSBLOG_DB_USER); // Your MySQL username
define('DB_PASSWORD', OPTION_FMSBLOG_DB_PASS); // ...and password
define('DB_HOST', OPTION_FMSBLOG_DB_HOST); // 99% chance you won't need to change this value
// Change the prefix if you want to have multiple blogs in a single database.
$table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_'
// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');
$toppath = $_SERVER['DOCUMENT_ROOT'];
$trimmed = rtrim($toppath, "blog/web");
define('TOP_PATH', $trimmed);
/* Stop editing */
$server = DB_HOST;
$loginsql = DB_USER;
$passsql = DB_PASSWORD;
$base = DB_NAME;
define('ABSPATH', dirname(__FILE__).'/');
// Get everything else
require_once(ABSPATH.'wp-settings.php');
?>
|