Initial revision
[lhc/web/wiklou.git] / LocalSettings.sample
1 <?
2 # Local settings work like this: the file LocalSettings.sample
3 # should be copied to LocalSettings.php in the source directory
4 # and edited for your local file system settings and software
5 # configuration preferences. The install script will copy it to
6 # the installation path, but a copy should also remain in the
7 # source tree so that maintenance scripts can refer to it (you
8 # may want to make it a symbolic link after installation). Do
9 # not check LocalSettings.php into CVS! It is different for
10 # every installation, and must not be overridden.
11
12 # The most important setting is here: $IP is the installation
13 # path for the software.
14 #
15
16 $IP = "/usr/local/apache/htdocs/wiki";
17
18 # This workaround is for the maintenance scripts:
19 #
20 if ( ! isset( $DP ) ) { $DP = $IP; }
21 include_once( "$DP/DefaultSettings.php" );
22
23 # You can customize a lot of URLs and paths, but you will
24 # almost certainly want to customize the following. The
25 # ArticlePath one is especially useful if you want to use
26 # mod_redirect to make page-viewing URLs look static.
27 #
28 $wgServer = "http://www.myhost.com";
29 $wgArticlePath = "{$wgScript}?title=$1";
30 $wgEmergencyContact = "wikiadmin@myhost.com";
31
32 # MySQL settings
33 #
34 $wgDBserver = "127.0.0.1";
35 $wgDBname = "wikidb";
36 $wgDBpassword = "userpass";
37 #wgDBsqlpassword = "sqlpass";
38 $wgDBminWordLen = 3; # Match this to your MySQL fulltext
39 $wgDBtransactions = false; # Set to true if using InnoDB tables
40
41 # Turn this on during database maintenance
42 # $wgReadOnly = true;
43
44 # Turn this on to get HTML debug comments
45 # $wgDebugComments = true;
46
47 $wgUseTeX = false;
48 $wgLocalInterwiki = "w";
49
50 $wgInputEncoding = "ISO-8859-1";
51 $wgOutputEncoding = "ISO-8859-1";
52
53 ?>