Log in with username/password: lyceum/lyceum

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

Revision 617, 2.5 kB (checked in by jjb, 4 years ago)

Explicitly setting the cookie domain, preceded by a dot, seems to make the maindomain cookie relevant to all subdomains.

Viewing /profile still needs to be cleaned up.

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