affichage des droits d'acces dans Droits pour le wiki
[platal.git] / plugins / pmwiki.config.php
index 10e9746..ad0856a 100644 (file)
@@ -15,7 +15,7 @@ $ScriptUrl = $globals->baseurl;
 $UploadUrlFmt = $ScriptUrl."/uploads";
 $WorkDir = '../spool/wiki.d';
 $WikiDir = new PageStore('$FarmD/../spool/wiki.d/$FullName');
-$PubDirUrl = $globals->baseurl.'/pubwiki';
+$PubDirUrl = $globals->baseurl.'/wiki';
 $InterMapFiles[] = $globals->spoolroot.'plugins/pmwiki.intermap.txt';
 
 ##  If you want to use URLs of the form .../pmwiki.php/Group/PageName
@@ -37,8 +37,8 @@ XLSDV('en', array(
 ## See PmWiki.Skins and Cookbook.Skins.
 $Skin = 'empty';
 
-include_once("pmwiki.platalAuth.php");
-include_once("pmwiki.platalSkin.php");
+include_once($globals->spoolroot."/plugins/pmwiki.platalAuth.php");
+include_once($globals->spoolroot."/plugins/pmwiki.platalSkin.php");
 @include_once("$FarmD/cookbook/e-protect.php");
 
 ## You'll probably want to set an administrative password that you
@@ -50,6 +50,7 @@ $DefaultPasswords['read'] = 'has_perms: and: identified:';
 $DefaultPasswords['edit'] = 'has_perms: and: identified:';
 $DefaultPasswords['attr'] = 'has_perms: and: identified:';
 $DefaultPasswords['admin'] = 'has_perms: and: identified:';
+$DefaultPasswords['upload'] = 'has_perms: and: identified:';
 
 ##  PmWiki comes with graphical user interface buttons for editing;
 ##  to enable these buttons, set $EnableGUIButtons to 1.