From: Willie D. L. <wd...@ic...> - 2002-08-02 02:39:27
|
On Thu, 1 Aug 2002, Joby Walker wrote: > In main.php at the end of the constructor for UserPreferences (function > UserPreferences) I would add a line: > > $this->set('userid', <insert location of PHPlib username>); > > Finally, again in WikiUser.php, I modified _pwcheck to accept certain > userid's as admins Joby, thanks very much! Using your hints, PhpWiki works as I want. I am building an environment for online courses. Now, only teachers may edit the PhpWiki pages. Teachers were previously registered on that environment, before using PhpWiki. Kind regards, Willie D. Leiva |