root/branches/1.0/src/config/wp-config-sample.php
| Revision 1251, 3.4 kB (checked in by jjb, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | // ** MySQL settings ** // |
| 3 | define('DB_NAME', 'lyceum'); // The name of the database |
| 4 | define('DB_USER', 'root'); // Your MySQL username |
| 5 | define('DB_PASSWORD', ''); // ...and password |
| 6 | define('DB_HOST', 'localhost'); // hostname or IP of database server (possibly 'localhost') |
| 7 | |
| 8 | // You can have multiple installations in one database if you give each a unique prefix |
| 9 | $table_prefix = ''; // Only numbers, letters, and underscores please! |
| 10 | |
| 11 | |
| 12 | define('PROTOCOL', 'http://'); |
| 13 | // The web path to the base of lyceum (where portal.php is sitting), with NO TRAILING SLASH |
| 14 | // Something like '' or '/lyceum' or '/src/lyceum' |
| 15 | define('WEBROOT', ''); |
| 16 | // The web path to the base of lyceum (where portal.php is sitting), with NO TRAILING SLASH. |
| 17 | // Only change this if you are doing a non-typical installation, otherwise it will happily be the same |
| 18 | // as WEBROOT |
| 19 | define('SRCROOT', WEBROOT); |
| 20 | |
| 21 | // The IP address or equivalent domain name of the server (MUST have 1 or more periods - 'localhost' will not work!) |
| 22 | define('MAINDOMAIN', 'blogs.example.com'); |
| 23 | define('DEFAULTBLOG', false); |
| 24 | |
| 25 | //you probably want to leave these as they are |
| 26 | define('DEFAULT_PS', '/%year%/%monthnum%/%day%/%postname%/'); |
| 27 | define('DEFAULT_TEMPLATE', 'default'); |
| 28 | define('DEFAULT_STYLESHEET', 'default'); |
| 29 | |
| 30 | // Subdomain options |
| 31 | // See doc/Installation.txt and doc/Subdomains.txt for more info |
| 32 | define('SUBDOMAINS', false); |
| 33 | |
| 34 | //log files |
| 35 | define('USELOGS', true); //If you are having problems installing on windows, make this 'false' |
| 36 | define('LOGDIR', '/tmp/'); //path MUST have trailing slash. example: /tmp/ |
| 37 | define('SECURITYLOG', LOGDIR . 'lyceum_security_log'); |
| 38 | define('TRACELOG', LOGDIR . 'lyceum_trace_log'); |
| 39 | define('ERRORLOG', LOGDIR . 'lyceum_error_log'); |
| 40 | define('QUERYLOG', LOGDIR . 'lyceum_query_log'); |
| 41 | define('TOKENLOG', LOGDIR . 'lyceum_token_log'); |
| 42 | |
| 43 | // Change this to localize WordPress. A corresponding MO file for the |
| 44 | // chosen language must be installed to wp-includes/languages. |
| 45 | // For example, install de.mo to wp-includes/languages and set WPLANG to 'de' |
| 46 | // to enable German language support. |
| 47 | define ('WPLANG', ''); |
| 48 | |
| 49 | //should lyceum NOT create an obfuscated filename for wp-comments-post.php at install time? (if you don't know what this means just leave it) |
| 50 | define('SAVEWPCOMMENTS', true); |
| 51 | |
| 52 | //////////////////////////////////////////////////////////////////////////////// |
| 53 | // Debug options. If you aren't a developer or a tester, leave them as they are. |
| 54 | |
| 55 | //this should be set to false for production |
| 56 | define('LYCEUMDEBUG', false); |
| 57 | define('LOGQUERIES', LYCEUMDEBUG); |
| 58 | |
| 59 | // Allow installation to be overwritten from the web? (this is handy for developers who do frequent re-installs) |
| 60 | // THIS MUST BE FALSE FOR PRODUCTION |
| 61 | define('WEBREINSTALL', false); |
| 62 | |
| 63 | //print trace information? |
| 64 | define('TRACE', LYCEUMDEBUG); |
| 65 | |
| 66 | assert_options(ASSERT_CALLBACK, 'assert_handler'); |
| 67 | assert_options(ASSERT_ACTIVE, LYCEUMDEBUG);//enable assert() evaluation |
| 68 | assert_options(ASSERT_WARNING, 0);//issue a PHP warning for each failed assertion |
| 69 | assert_options(ASSERT_QUIET_EVAL, 0);//disable error_reporting during assertion expression evaluation |
| 70 | assert_options(ASSERT_BAIL, 1);//terminate execution on failed assertions |
| 71 | |
| 72 | ini_set('error_reporting', E_ALL ^ E_NOTICE ); |
| 73 | ini_set('display_errors', '0'); |
| 74 | ini_set('log_errors', '1'); |
| 75 | ini_set('error_log', ERRORLOG); |
| 76 | |
| 77 | //define('SITETITLE', 'Local Lyceum Development Installation'); |
| 78 | //define('ADMINEMAIL', 'put your email address here'); |
| 79 | |
| 80 | /* That's all, stop editing! Happy blogging. */ |
| 81 | |
| 82 | require_once(PRIVATEROOT . 'wp-settings.php'); |
| 83 | ?> |
| 84 |
Note: See TracBrowser for help on using the browser.
