Index: docs/sample-config.php =================================================================== --- docs/sample-config.php (revision 2233) +++ docs/sample-config.php (working copy) @@ -3,7 +3,7 @@ ## 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. +## to PmWiki. ## $WikiTitle is the name that appears in the browser's title bar. $WikiTitle = 'PmWiki'; @@ -16,7 +16,7 @@ ## If you want to use URLs of the form .../pmwiki.php/Group/PageName ## instead of .../pmwiki.php?p=Group.PageName, try setting ## $EnablePathInfo below. Note that this doesn't work in all environments, -## it depends on your webserver and PHP configuration. You might also +## it depends on your webserver and PHP configuration. You might also ## want to check http://www.pmwiki.org/wiki/Cookbook/CleanUrls more ## details about this setting and other ways to create nicer-looking urls. # $EnablePathInfo = 1; @@ -31,7 +31,7 @@ # $Skin = 'pmwiki'; ## You'll probably want to set an administrative password that you -## can use to get into password-protected pages. Also, by default +## can use to get into password-protected pages. Also, by default ## the "attr" passwords for the PmWiki and Main groups are locked, so ## an admin password is a good way to unlock those. See PmWiki.Passwords ## and PmWiki.PasswordsAdmin. @@ -44,12 +44,12 @@ # $EnableBlocklist = 10; # enable automatic blocklists ## PmWiki comes with graphical user interface buttons for editing; -## to enable these buttons, set $EnableGUIButtons to 1. +## to enable these buttons, set $EnableGUIButtons to 1. # $EnableGUIButtons = 1; ## To enable markup syntax from the Creole common wiki markup language ## (http://www.wikicreole.org/), include it here: -# include_once('scripts/creole.php'); +# include_once("scripts/creole.php"); ## Some sites may want leading spaces on markup lines to indicate ## "preformatted text blocks", set $EnableWSPre=1 if you want to do @@ -63,11 +63,11 @@ ## 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. -# $EnableUpload = 1; +# $EnableUpload = 1; # $DefaultPasswords['upload'] = crypt('secret'); ## Setting $EnableDiag turns on the ?action=diag and ?action=phpinfo -## actions, which often helps others to remotely troubleshoot +## actions, which often helps others to remotely troubleshoot ## various configuration and execution problems. # $EnableDiag = 1; # enable remote diagnostics @@ -77,7 +77,7 @@ ## adjusting configuration files or layout templates. # $EnableIMSCaching = 1; # allow browser caching -## Set $SpaceWikiWords if you want WikiWords to automatically +## Set $SpaceWikiWords if you want WikiWords to automatically ## have spaces before each sequence of capital letters. # $SpaceWikiWords = 1; # turn on WikiWord spacing @@ -101,14 +101,14 @@ ## The refcount.php script enables ?action=refcount, which helps to ## find missing and orphaned pages. See PmWiki.RefCount. -# if ($action == 'refcount') include_once('scripts/refcount.php'); +# if ($action == 'refcount') include_once("scripts/refcount.php"); ## The feeds.php script enables ?action=rss, ?action=atom, ?action=rdf, ## and ?action=dc, for generation of syndication feeds in various formats. -# if ($action == 'rss') include_once('scripts/feeds.php'); # RSS 2.0 -# if ($action == 'atom') include_once('scripts/feeds.php'); # Atom 1.0 -# if ($action == 'dc') include_once('scripts/feeds.php'); # Dublin Core -# if ($action == 'rdf') include_once('scripts/feeds.php'); # RSS 1.0 +# if ($action == 'rss') include_once("scripts/feeds.php"); # RSS 2.0 +# if ($action == 'atom') include_once("scripts/feeds.php"); # Atom 1.0 +# if ($action == 'dc') include_once("scripts/feeds.php"); # Dublin Core +# if ($action == 'rdf') include_once("scripts/feeds.php"); # RSS 1.0 ## In the 2.2.0-beta series, {$var} page variables are absolute by ## default, but a future version will make them relative. This setting @@ -125,7 +125,7 @@ ## PmWiki allows a great deal of flexibility for creating custom markup. ## To add support for '*bold*' and '~italic~' markup (the single quotes -## are part of the markup), uncomment the following lines. +## are part of the markup), uncomment the following lines. ## (See PmWiki.CustomMarkup and the Cookbook for details and examples.) # Markup("'~", "inline", "/'~(.*?)~'/", "$1"); # '~italic~' # Markup("'*", "inline", "/'\\*(.*?)\\*'/", "$1"); # '*bold*' @@ -134,7 +134,7 @@ ## are turned into links, uncomment the line below. See PmWiki.UrlApprovals. ## Also, setting $UnapprovedLinkCountMax limits the number of unapproved ## links that are allowed in a page (useful to control wikispam). -# include_once('scripts/urlapprove.php'); +# include_once("scripts/urlapprove.php"); # $UnapprovedLinkCountMax = 10; ## The following lines make additional editing buttons appear in the @@ -154,6 +154,6 @@ # $GUIButtons['hr'] = array(540, '\\n----\\n', '', '', # '$GUIButtonDirUrlFmt/hr.gif"$[Horizontal rule]"'); # $GUIButtons['table'] = array(600, -# '||border=1 width=80%\\n||!Hdr ||!Hdr ||!Hdr ||\\n|| || || ||\\n|| || || ||\\n', '', '', +# '||border=1 width=80%\\n||!Hdr ||!Hdr ||!Hdr ||\\n|| || || ||\\n|| || || ||\\n', '', '', # '$GUIButtonDirUrlFmt/table.gif"$[Table]"');