Log in with username/password: lyceum/lyceum

root/trunk/src/config/wp-config-sample.php

Revision 596, 2.3 kB (checked in by jjb, 4 years ago)

Can change log dir from one place, and correctly checks dir for writability.

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 //log files
15 define('USELOGS', true);
16 define('LOGDIR', '/tmp/');
17 define('SECURITYLOG', LOGDIR . 'lyceum_security_log');
18 define('TRACELOG', LOGDIR . 'lyceum_trace_log');
19 define('ERRORLOG', LOGDIR . 'lyceum_error_log');
20
21 // Change this to localize WordPress.  A corresponding MO file for the
22 // chosen language must be installed to wp-includes/languages.
23 // For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
24 // to enable German language support.
25 define ('WPLANG', '');
26
27 //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)
28 define('SAVEWPCOMMENTS', true);
29
30 ////////////////////////////////////////////////////////////////////////////////
31 // Debug options. If you aren't a developer or a tester, leave them as they are.
32
33 //this should be set to false for releases
34 define('LYCEUMDEBUG', false);
35
36 //print trace information?
37 define('TRACE', LYCEUMDEBUG);
38
39 assert_options(ASSERT_CALLBACK, 'assert_handler');
40 assert_options(ASSERT_ACTIVE, LYCEUMDEBUG);//enable assert() evaluation
41 assert_options(ASSERT_WARNING, 0);//issue a PHP warning for each failed assertion
42 assert_options(ASSERT_QUIET_EVAL, 0);//disable error_reporting during assertion expression evaluation
43 assert_options(ASSERT_BAIL, 1);//terminate execution on failed assertions
44
45 ini_set('error_reporting', E_ALL ^ E_NOTICE );
46 ini_set('display_errors', '0');
47 ini_set('log_errors', '1');
48 ini_set('error_log', ERRORLOG);
49
50 //define('SITETITLE', 'Local Lyceum Development Installation');
51 //define('ADMINEMAIL', 'put your email address here');
52
53 /* That's all, stop editing! Happy blogging. */
54
55 require_once(PRIVATEROOT . 'lib/wp-settings.php');
56 ?>
57
Note: See TracBrowser for help on using the browser.
Log in with username/password: lyceum/lyceum