KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/astrosfm/pmwiki/local/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/astrosfm/pmwiki/local/config.php
<?php if (!defined('PmWiki')) exit();
##  This is the config file for the AAS astroWIKI  

##  $WikiTitle is the name that appears in the browser's title bar.
$WikiTitle = 'astroWiki';   #astroWiki, SFMWiki, TCWiki, aasWiki ?

##  $ScriptUrl is your preferred URL for accessing wiki pages
##  $PubDirUrl is the URL for the pub directory.
$SpaceFlightUrl = 'http://www.space-flight.org/';
$ScriptUrl = 'http://www.space-flight.org/pmwiki/pmwiki.php';
$PubDirUrl = 'http://www.space-flight.org/pmwiki/pub';

##  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 
##  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;

## $PageLogoUrl is the URL for a logo image -- you can change this
## to your own logo if you wish.
$PageLogoUrl = "$PubDirUrl/aaslogo.gif";

## If you want to have a custom skin, then set $Skin to the name
## of the directory (in pub/skins/) that contains your skin files.
## See PmWiki.Skins and Cookbook.Skins.
$Skin = 'recurve';

# ---passwords--------------------------------------------------------------------------
# to enable AuthUser
include_once("$FarmD/scripts/authuser.php"); 
# to use UserAuth cookbook instead
# require_once("cookbook/userauth.php")

## You'll probably want to set an administrative password that you
## 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.
# $DefaultPasswords['admin'] = crypt('gg');
# $DefaultPasswords['edit'] = crypt('gg');
# $DefaultPasswords['read'] = crypt('gg');
$DefaultPasswords['admin'] = '@admins';
$DefaultPasswords['read'] = 'id:*';
$DefaultPasswords['edit'] = 'id:*';

# Full path to either or both the password/group file(s)
# to administer
# $HtpasswdFile = "$FarmD/local/.htpasswd";
# $HtgroupFile  = "$FarmD/local/htgroup";

# Inconditionally display the admin form
$HtpasswordAuth = 'read';

# Comment the following line to enable links to non-relevant profile pages
$EnableHtpasswordProfileLinks = 0;

# Uncomment the following line only if you're not using AuthUser authentication.
# unset($AuthUser);

# Use local/.htpasswd for usernames/passwords
$AuthUser['htpasswd'] = 'local/.htpasswd';

# $EnableHtpassword=1
# $EnableHtgroup=1
# include_once("$FarmD/cookbook/htpasswdform.php");

#    $group = FmtPageName('Main', $pagename); 
#    $DefaultPasswords['edit'] = 'id:'.$group; 
#    include_once("$FarmD/scripts/authuser.php");

# ---email protection--------------------------------------------------------------------------
include_once('cookbook/e-protect.php'); 

# ---upload--------------------------------------------------------------------------
##  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.
$EnableUpload = 1;                       
# $DefaultPasswords['upload'] = crypt('');
$DefaultPasswords['upload'] = 'id:*';
$HandleAuth['upload'] = 'edit';
$UploadDir = "uploads";
$UploadDirQuota = 200000000;    # limit total uploads to ~200 M
$UploadMaxSize =    5000000;  # ~5 Meg (number in in bytes)

# delete attachment cookbook
include_once('cookbook/attachdel.php');

# ---rest is standard stuff--------------------------------------------------------------------------
##  PmWiki comes with graphical user interface buttons for editing;
##  to enable these buttons, set $EnableGUIButtons to 1.  
$EnableGUIButtons = 1;


##  Setting $EnableDiag turns on the ?action=diag and ?action=phpinfo
##  actions, which often helps the PmWiki authors to troubleshoot 
##  various configuration and execution problems.
$EnableDiag = 1;                         # enable remote diagnostics

##  By default, PmWiki doesn't allow browsers to cache pages.  Setting
##  $EnableIMSCaching=1; will re-enable browser caches in a somewhat
##  smart manner.  Note that you may want to have caching disabled while
##  adjusting configuration files or layout templates.
# $EnableIMSCaching = 1;                   # allow browser caching

##  Set $SpaceWikiWords if you want WikiWords to automatically 
##  have spaces before each sequence of capital letters.
# $SpaceWikiWords = 1;                     # turn on WikiWord spacing

##  Set $LinkWikiWords if you want to allow WikiWord links.
$LinkWikiWords = 1;                      # enable WikiWord links

##  If you want only the first occurrence of a WikiWord to be converted
##  to a link, set $WikiWordCountMax=1.
# $WikiWordCountMax = 1;                   # converts only first WikiWord
# $WikiWordCountMax = 0;                   # another way to disable WikiWords

##  The $WikiWordCount array can be used to control the number of times
##  a WikiWord is converted to a link.  This is useful for disabling
##  or limiting specific WikiWords.
$WikiWordCount['PhD'] = 0;               # disables 'PhD'
$WikiWordCount['PmWiki'] = 1;            # convert only first 'PmWiki'
$WikiWordCount['SpaceFlight'] = 0;       

##  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 WikiWords matching a pattern, you can use 
##  something like the following.  Note that the first argument has to 
##  be different for each call to Markup().  The example below disables
##  WikiWord links like COM1, COM2, COM1234, etc.
# Markup('COM\d+', '<wikilink', '/\\bCOM\\d+/', "Keep('$0')");

##  $DiffKeepDays specifies the minimum number of days to keep a page's
##  revision history.  The default is 3650 (approximately 10 years).
# $DiffKeepDays=30;                        # keep page history at least 30 days

## By default, viewers are able to see the names (but not the
## contents) of read-protected pages in search results and
## page listings.  Set $EnablePageListProtect to keep read-protected
## pages from appearing in search results.
$EnablePageListProtect = 1;

##  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');

##  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

##  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. 
##  (See PmWiki.CustomMarkup and the Cookbook for details and examples.)
 Markup("'~", "inline", "/'~(.*?)~'/", "<i>$1</i>");        # '~italic~'
 Markup("'*", "inline", "/'\\*(.*?)\\*'/", "<b>$1</b>");    # '*bold*'

##  If you want to have to approve links to external sites before they
##  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');
# $UnapprovedLinkCountMax = 10;

##  The following lines make additional editing buttons appear in the
##  edit page for subheadings, lists, tables, etc.
 $GUIButtons['h2'] = array(400, '\\n!! ', '\\n', '$[Heading]',
                     '$GUIButtonDirUrlFmt/h2.gif"$[Heading]"');
 $GUIButtons['h3'] = array(402, '\\n!!! ', '\\n', '$[Subheading]',
                     '$GUIButtonDirUrlFmt/h3.gif"$[Subheading]"');
 $GUIButtons['indent'] = array(500, '\\n->', '\\n', '$[Indented text]',
                     '$GUIButtonDirUrlFmt/indent.gif"$[Indented text]"');
 $GUIButtons['outdent'] = array(510, '\\n-<', '\\n', '$[Hanging indent]',
                     '$GUIButtonDirUrlFmt/outdent.gif"$[Hanging indent]"');
 $GUIButtons['ol'] = array(520, '\\n# ', '\\n', '$[Ordered list]',
                     '$GUIButtonDirUrlFmt/ol.gif"$[Ordered (numbered) list]"');
 $GUIButtons['ul'] = array(530, '\\n* ', '\\n', '$[Unordered list]',
                     '$GUIButtonDirUrlFmt/ul.gif"$[Unordered (bullet) list]"');
 $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', '', '', 
                     '$GUIButtonDirUrlFmt/table.gif"$[Table]"');

# ---add-ons--------------------------------------------------------------------------

# Table of Content
include_once("$FarmD/cookbook/pagetoc.php");

# email notifications
$EnableNotify = 0;
# $NotifySquelch = 86400;    # wait at least one day between notifications
$NotifyFrom = 'astroWiki <[email protected]>';

$ForceAuthorTracking=1; # 1 to enable, 0 (default) to disable
include_once('cookbook/storedauthname.php');

# Comment box
include_once("$FarmD/cookbook/commentboxplus.php");

Anon7 - 2021