root/trunk/src/config/wp-config-sample.php
| Revision 616, 2.4 kB (checked in by jjb, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | define('DB_NAME', 'lyceum'); // The name of the database |
| 3 | define('DB_USER', 'root'); // Your MySQL username |
| 4 | define('DB_PASSWORD', ''); // ...and password |
| 5 | define('DB_HOST', 'localhost'); // hostname or IP of database server (possibly 'localhost') |
| 6 | |
| 7 | // You can have multiple installations in one database if you give each a unique prefix |
| 8 | $table_prefix = ''; // Only numbers, letters, and underscores please! |
| 9 | |
| 10 | // The relative web path to portal.php, depending on where you installed Lyceum |
| 11 | // Something like '/portal.php' or '/lyceum/portal.php' |
| 12 | define('PORTAL', "/web/path/to/portal.php"); |
| 13 | |
| 14 | // Subdomain options |
| 15 | // See doc/Installation.txt and doc/Subdomains.txt for more info |
| 16 | define('SUBDOMAINS', false); |
| 17 | define('MAINDOMAIN', 'blogs.example.com'); |
| 18 | |
| 19 | //log files |
| 20 | define('USELOGS', true); |
| 21 | define('LOGDIR', '/tmp/'); |
| 22 | define('SECURITYLOG', LOGDIR . 'lyceum_security_log'); |
| 23 | define('TRACELOG', LOGDIR . 'lyceum_trace_log'); |
| 24 | define('ERRORLOG', LOGDIR . 'lyceum_error_log'); |
| 25 | |
| 26 | // Change this to localize WordPress. A corresponding MO file for the |
| 27 | // chosen language must be installed to wp-includes/languages. |
| 28 | // For example, install de.mo to wp-includes/languages and set WPLANG to 'de' |
| 29 | // to enable German language support. |
| 30 | define ('WPLANG', ''); |
| 31 | |
| 32 | //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) |
| 33 | define('SAVEWPCOMMENTS', true); |
| 34 | |
| 35 | //////////////////////////////////////////////////////////////////////////////// |
| 36 | // Debug options. If you aren't a developer or a tester, leave them as they are. |
| 37 | |
| 38 | //this should be set to false for releases |
| 39 | define('LYCEUMDEBUG', false); |
| 40 | |
| 41 | //print trace information? |
| 42 | define('TRACE', LYCEUMDEBUG); |
| 43 | |
| 44 | assert_options(ASSERT_CALLBACK, 'assert_handler'); |
| 45 | assert_options(ASSERT_ACTIVE, LYCEUMDEBUG);//enable assert() evaluation |
| 46 | assert_options(ASSERT_WARNING, 0);//issue a PHP warning for each failed assertion |
| 47 | assert_options(ASSERT_QUIET_EVAL, 0);//disable error_reporting during assertion expression evaluation |
| 48 | assert_options(ASSERT_BAIL, 1);//terminate execution on failed assertions |
| 49 | |
| 50 | ini_set('error_reporting', E_ALL ^ E_NOTICE ); |
| 51 | ini_set('display_errors', '0'); |
| 52 | ini_set('log_errors', '1'); |
| 53 | ini_set('error_log', ERRORLOG); |
| 54 | |
| 55 | //define('SITETITLE', 'Local Lyceum Development Installation'); |
| 56 | //define('ADMINEMAIL', 'put your email address here'); |
| 57 | |
| 58 | /* That's all, stop editing! Happy blogging. */ |
| 59 | |
| 60 | require_once(PRIVATEROOT . 'lib/wp-settings.php'); |
| 61 | ?> |
| 62 |
Note: See TracBrowser for help on using the browser.
