Zoek:

Listing van config.php

Dit is een listing van de file /home/w0247690/domains/linux020.nl/public_html/l20/local/config.php (niet vanuit hier te bewerken)


<?php if (!defined('PmWiki')) exit();
# Pmwiki config file
# Versie 2.6 bijgewerkt naar 3.8a
# Zie https://hotelhgw.nl/wiki/Bron/LocalConfigPhp
# local/config.php voor linux020.nl
#
$WikiTitle                  = 'Linux020';
#$Skin                       = '2016';
$Skin                       = 'pmwiki-dk';
#$Skin                       = 'grayness';                 # Default skin
$ActionSkin['print']        = 'print';                  # print skin
$DefaultPasswords['edit']   = '$2y$10$o05G1kEKSbnjJkPB28uCf.76FUEiyKkdvwxfPGh6tDEqNijrpJb.2';
$DefaultPasswords['upload'] = '$2y$10$o05G1kEKSbnjJkPB28uCf.76FUEiyKkdvwxfPGh6tDEqNijrpJb.2';
$DefaultPasswords['admin']  = '$2y$10$o05G1kEKSbnjJkPB28uCf.76FUEiyKkdvwxfPGh6tDEqNijrpJb.2';
## Paden
if (@$_SERVER['HTTPS'] != 'on' && @$_SERVER['SERVER_PORT'] != '443') {
  header( "Location: " . "https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
  exit('<html><body>
    <a href="https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . '">Gebruik https://www.linux020.nl/</a>
    </body></html>');
}
$BaseUrl                  = $UrlScheme.'://'.$_SERVER[HTTP_HOST];
#$BaseUrl                  = 'http://'.$_SERVER[HTTP_HOST];
$ScriptUrl                = "$BaseUrl/l20";
$PubDirUrl                = "$BaseUrl/l20/pub";
# ### Hieronder niets wijzigen ###
## Pagina's in groepsdirectories
$WikiDir                    = new PageStore('wiki.d/$Group/$FullName'); # Iedere groep aparte directory
## Internationalisatie
$TimeFmt                    = '%A %e %h %Y  %I:%M';     # maandag 1 jan 2000 10:20
XLPage('nl','PmWikiNl.XLPage');                         # Nederland
include_once("$FarmD/scripts/xlpage-utf-8.php");               # UTF-8
date_default_timezone_set("Europe/Amsterdam");
## Plaatjes
$EnableUpload             = 1;                                # Attach-file upload activeren
$EnableUploadOverwrite    = 0;                                # Plaatjes niet overschrijven
$UploadMaxSize            = 250000;                           # Plaatje max 250 kB
$UploadDir                = "upl";
$UploadUrlFmt             = "/l20/upl";
$PageLogoUrl              = "$UploadUrlFmt/Main/logo.png"; #Logo
## Divers
$EnablePathInfo           = 1;                                 # Clean URLs
$EnableGUIButtons         = 1;                                 # voor knopjes bij editen
$EnablePostAuthorRequired = 1;                                 # require Author name
$EnableDrafts             = 1;                                 # enable Draft button
$EnablePageTitlePriority  = 1;                                 # First title wins with includes
$EnableDiag               = 0;                                 # Diagnostics mode
$EditTemplatesFmt         = '{$Group}.Template';               # Templates
#$FmtPV['$Vandaag']       = 'strftime("%e-%b-%Y", time() )';   # gebruik {$ftime}
#$FmtPV['$DitJaar']       = 'strftime("%Y", time() )';         # gebruik {(ftime %Y)}
$FmtPV['$PageCreationDate'] = 'strftime("%e %B %Y", $page["ctime"])';   # 1 januari 2000
$FmtPV['$VisitorIP']      = '$_SERVER["REMOTE_ADDR"]';         # IP van de bezoeker
$FmtPV['$FarmD']          = '$GLOBALS["FarmD"]';               # Local pmwiki path
$FmtPV['$WikiTitle']      = '$GLOBALS["WikiTitle"]';           # Titel van de site
$FmtPV['$CurrentSkin']    = '$GLOBALS["Skin"]';                # Naam van de skin
$SpaceWikiWords           = 1;                                 # turn on WikiWord spacing
$DiffKeepDays             = 180;                               # Keep page History 180 days
## Notify
$EnableNotify             = 1;
$NotifySquelch            = 86400;                              # wait at least one day between notifications
$NotifyDelay              = 1800;                               # wait 30 minutes after initial post
#$NotifyList[] = 'notify=kropgroep@xs4all.nl squelch=86400';    # Stop deze info in SiteAdmin.NotifyList
$NotifyItemFmt = "* \$FullName : \$PostTime : \$Author : \$LastModifiedSummary \n\t\$PageUrl"; # Mooi notify formaat
if ($action == 'rss') include_once("$FarmD/scripts/feeds.php"); # RSS feeds
$AutoCreate['/^Category\\./'] = array('ctime' => $Now);         # Autocreate Category Pagina's
# ### Wijzigingen van bovenstaande regels hieronder ###
#$Author = "Daniel";      # Standaard auteur bij single editor sites
# ### Hieronder alle cookbook recipes ###
#
# showsource
##Markup_e('showsource', 'directives', "/\\(:showsource\\s?(.*?)\\s*?:\\)/","ShowSource(\$m[1])");
##function ShowSource($filename) {
##        $text = htmlspecialchars(file_get_contents($filename));
##        return "<pre class='escaped'>".Keep($text)."</pre>";
##}
Markup('showsource', 'directives', "/\\(:showsource\\s+(.*?)\\s*?:\\)/", "ShowSource");
function ShowSource($m) {
  $text = PHSC(file_get_contents($m[1]));
  return "<pre class='escaped'>".Keep($text)."</pre>";
}
## Attachtable Recipe
switch($action) {
  case 'delattach':
  case 'renameattach':
  case 'downloaddeleted':
    include_once("$FarmD/cookbook/attachtable/attachtable-actions.php");
    break;
  case 'fileinfo':
  case 'thumbnail':
    include_once("$FarmD/cookbook/attachtable/fileinfo.php");
    break;
  case 'upload':
  default:
    include_once("$FarmD/cookbook/attachtable/attachtable.php");
    break;
}
# pmform
include_once("$FarmD/scripts/pmform.php");
$PmForm['potje']  = 'saveto={$FullName} form=#potjeform fmt=#potjepost';
$PmForm['mailme'] = 'mailto=info@linux020.nl form=#mailform fmt=#mailpost';
$PmForm['feedback'] = 'mailto=info@linux020.nl form=#evalform  fmt=#evalpost';
# captcha
if (!CondAuth($pagename,'edit')) $EnablePostCaptchaRequired = 1;
include_once("$FarmD/cookbook/captcha.php");
# ape (https://www.pmwiki.org/wiki/Cookbook/Ape)
if($action=="browse" || !empty(@$_REQUEST['preview'])) {
   include_once("$FarmD/cookbook/ape.php");
}
# include url
include_once("$FarmD/cookbook/includeurl.php");
# sourceblock
include_once("$FarmD/cookbook/sourceblock.php");
# Analyze
include_once("$FarmD/cookbook/analyze.php");
$AnalyzeKey = 'daniel!';
# Google translate
$HTMLHeaderFmt['translate'] = "
<div id='google_translate_element'></div><script type='text/javascript'>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: 'nl', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'UA-586313-9'}, 'google_translate_element');
}
</script><script type='text/javascript' src='//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit'></script>";
# favicon
$HTMLHeaderFmt['logo'] = '<link href="/l20/favicon.png" type="image/png" rel="icon" />';
# eof #

Pagina laatst gewijzigd op 30 september 2016 om 14:05