sample-config.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. ## This is a sample config.php file. To use this file, copy it to
  3. ## local/config.php, then edit it for whatever customizations you want.
  4. ## Also, be sure to take a look at http://www.pmichaud.com/wiki/Cookbook
  5. ## for more details on the types of customizations that can be added
  6. ## to PmWiki.
  7. ## $WikiTitle is the name that appears in the browser's title bar
  8. $WikiTitle = 'PmWiki';
  9. ## $ScriptUrl is your preferred URL for accessing wiki pages
  10. ## $PubDirUrl is the URL for the pub directory.
  11. # $ScriptUrl = 'http://www.mydomain.com/path/to/pmwiki.php';
  12. # $PubDirUrl = 'http://www.mydomain.com/path/to/pub';
  13. ## If your system is able to display the home page but gives
  14. ## "404 Not Found" errors for all others, try setting the following:
  15. # $EnablePathInfo = 0;
  16. ## $PageLogoUrlFmt is the URL for a logo image--you can change this to
  17. ## your own logo if you wish.
  18. # $PageLogoUrl = '$PubDirUrl/pmwiki-32.gif';
  19. ## Set $SpaceWikiWords if you want WikiWords to automatically have
  20. ## spaces before each sequence of capital letters
  21. # $SpaceWikiWords = 1; # turns on WikiWord spacing
  22. ## If you want uploads enabled on your system, set $EnableUpload=1.
  23. ## You'll also need to set a default upload password, or else set
  24. ## passwords on individual groups and pages. For more information see
  25. ## PmWiki.UploadsAdmin and PmWiki.PasswordsAdmin.
  26. # $EnableUpload = 1;
  27. # $DefaultPasswords['upload'] = crypt('secret');
  28. ## By default PmWiki is configured such that only the first occurrence
  29. ## of 'PmWiki' in a page is treated as a WikiWord. If you want to
  30. ## restore 'PmWiki' to be treated like other WikiWords, uncomment the
  31. ## line below.
  32. # unset($WikiWordCount['PmWiki']);
  33. ## If you want to disable all WikiWords (leaving only {{free links}} and
  34. ## [[WikiWord text]] markup), set $WikiWordCountMax=0. If you want
  35. ## only the first occurrence of each WikiWord to be treated as a link,
  36. ## set $WikiWordCountMax=1.
  37. # $WikiWordCountMax=0; # disables all WikiWords
  38. # $WikiWordCountMax=1; # converts only first WikiWord
  39. ## Many other features of PmWiki can be enabled (1) or disabled (0)
  40. ## by setting variables below. These are defined in and controlled by
  41. ## the scripts/stdconfig.php script.
  42. # $EnableQATags=1; # Q: and A: Markup (default on)
  43. # $EnableWikiTrails=1; # WikiTrails (default on)
  44. # $EnableStdWikiStyles=1; # standard WikiStyles (default on)
  45. ## or, to turn off all of the optional features, use
  46. # $EnableStdConfig=0; # 0 disables all optional features
  47. ## $DiffKeepDays specifies the minimum number of days to keep a page's
  48. ## revision history. The default is 3650 (approx 10 years).
  49. # $DiffKeepDays=30; # keep page history at least 30 days
  50. ?>