Merge branch 'platal-0.10.0'
authorVincent Zanotti <vincent.zanotti@m4x.org>
Thu, 19 Mar 2009 00:05:44 +0000 (01:05 +0100)
committerVincent Zanotti <vincent.zanotti@m4x.org>
Thu, 19 Mar 2009 00:05:44 +0000 (01:05 +0100)
include/validations/nomusage.inc.php
include/wiki/farmconfig.php

index 77b964b..3bdf153 100644 (file)
@@ -117,6 +117,10 @@ class UsageReq extends Validate
         register_watch_op($this->user->id(), WATCH_FICHE, '', 'nom');
         require_once('user.func.inc.php');
         set_new_usage($this->user->id(), $this->nom_usage, $this->alias);
+
+        // Update the local User object, to pick up the new bestalias.
+        $this->user = User::getSilent($this->user->id());
+
         return true;
     }
 
index b15491a..d461c25 100644 (file)
@@ -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 <base /> in skin