<?php ## This is a sample config.php file. To use this file, copy it to ## local/config.php, then edit it for whatever customizations you want. ## Also, be sure to take a look at http://www.pmichaud.com/wiki/Cookbook ## for more details on the types of customizations that can be added ## to PmWiki. $PageTemplateFmt = "pub/skins/php-gtk/php-gtk.tmpl"; ## $WikiTitle is the name that appears in the browser's title bar $WikiTitle = 'PHP-GTK:Wiki'; ## $ScriptUrl is your preferred URL for accessing wiki pages ## $PubDirUrl is the URL for the pub directory. ##$ScriptUrl = 'http://gtk.php.net/wiki'; $ScriptUrl = 'http://php-gtk.audean.com/wiki'; ##$PubDirUrl = 'http://gtk.php.net/wiki/pub'; $PubDirUrl = 'http://php-gtk.audean.com/wiki/pub'; ##$PageUrlFmt = 'http://gtk.php.net/wiki/$Group/$Title_'; $PageUrlFmt = 'http://php-gtk.audean.com/wiki/$Group/$Title_'; ##$UploadUrlFmt = 'http://gtk.php.net/wiki/uploads'; $UploadUrlFmt = 'http://php-gtk.audean.com/wiki/uploads'; ## If your system is able to display the home page but gives ## "404 Not Found" errors for all others, try setting the following: $EnablePathInfo = 1; ## $PageLogoUrlFmt is the URL for a logo image--you can change this to ## your own logo if you wish. # $PageLogoUrl = '$PubDirUrl/pmwiki-32.gif'; ## Set $SpaceWikiWords if you want WikiWords to automatically have ## spaces before each sequence of capital letters # $SpaceWikiWords = 1; # turns on WikiWord spacing ## If you want uploads enabled on your system, set $EnableUpload=1. ## You'll also need to set a default upload password, or else set ## passwords on individual groups and pages. For more information see ## PmWiki.UploadsAdmin and PmWiki.PasswordsAdmin. # $EnableUpload = 1; # $DefaultPasswords['upload'] = crypt('secret'); ## By default PmWiki is configured such that only the first occurrence ## of 'PmWiki' in a page is treated as a WikiWord. If you want to ## restore 'PmWiki' to be treated like other WikiWords, uncomment the ## line below. # unset($WikiWordCount['PmWiki']); ## If you want to disable all WikiWords (leaving only {{free links}} and ## [[WikiWord text]] markup), set $WikiWordCountMax=0. If you want ## only the first occurrence of each WikiWord to be treated as a link, ## set $WikiWordCountMax=1. # $WikiWordCountMax=0; # disables all WikiWords # $WikiWordCountMax=1; # converts only first WikiWord ## Many other features of PmWiki can be enabled (1) or disabled (0) ## by setting variables below. These are defined in and controlled by ## the scripts/stdconfig.php script. # $EnableQATags=1; # Q: and A: Markup (default on) # $EnableWikiTrails=1; # WikiTrails (default on) # $EnableStdWikiStyles=1; # standard WikiStyles (default on) ## or, to turn off all of the optional features, use # $EnableStdConfig=0; # 0 disables all optional features ## $DiffKeepDays specifies the minimum number of days to keep a page's ## revision history. The default is 3650 (approx 10 years). # $DiffKeepDays=30; # keep page history at least 30 days ## Adding this config option to slow down spammers just a little. ## I realize it won't prevent all spam but it may make maintaining the ## Wiki a little easier. $EnablePostAuthorRequired = 1; /* Custom Functions */ function showDate() { echo date('l, F j, Y'); } function showYear() { echo date('Y'); } ?>