X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fwiki%2Ffarmconfig.php;h=617ebfbeb4b4546f48cb297870862442c5b9bb78;hb=7996ae8cd41fbb3ccd748eaed71a50f866269c6e;hp=07977fec3e3e69b4ecb9da039927115c12589e47;hpb=0a5cc8b1ccf72f045d10d0bafac7cff8bda0afca;p=platal.git
diff --git a/include/wiki/farmconfig.php b/include/wiki/farmconfig.php
index 07977fe..617ebfb 100644
--- a/include/wiki/farmconfig.php
+++ b/include/wiki/farmconfig.php
@@ -6,6 +6,7 @@ $EnableUpload = 1;
$UploadMaxSize = 500000;
$LinkWikiWords = 0; # disable WikiWord links
$EnableIMSCaching = 1; # allow browser caching
+$EnablePageListProtect = 0; # We use our own permission system.
$ScriptUrl = '.'; #\
$UploadUrlFmt = './uploads'; # } works thanks to the in skin
@@ -19,13 +20,15 @@ $Skin = 'empty';
@include_once("$FarmD/cookbook/e-protect.php");
include_once($FarmD.'/scripts/xlpage-utf-8.php');
+ResolvePageName();
if ($action == 'rss' || $action == 'atom' || $action == 'rdf' || $action == 'dc') {
- include_once("$FarmD/scripts/feeds.php");
$FmtPV['$MarkupExcerpt'] = '$page["text"]';
$FeedFmt[$action]['item']['title'] = '[$Group] {$Title}';
$FeedFmt[$action]['item']['description'] = '$LastModifiedSummary';
$FeedFmt[$action]['feed']['title'] = 'Polytechnique.org :: Wiki :: $FullName';
+ $pagelist = null;
+ include_once("$FarmD/scripts/feeds.php");
}
// Theme-ing {{{
@@ -47,16 +50,16 @@ $GUIButtons['ul'] = array(530, '\\n* ', '\\n', '$[Unordered 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', '', '',
+ '||border=1 width=80%\\n||!Hdr ||!Hdr ||!Hdr ||\\n|| || || ||\\n|| || || ||\\n', '', '',
'$GUIButtonDirUrlFmt/table.gif"$[Table]"');
// set default author
-$Author = $_SESSION['forlife'].'|'.$_SESSION['prenom'].' '.$_SESSION['nom'];
+$Author = $_SESSION['hruid'].'|'.$_SESSION['prenom'].' '.$_SESSION['nom'];
$InputTags['e_form'] = array(
- ':html' => "