[pmwiki-users] Uploading images
Patrick R. Michaud
pmichaud at pobox.com
Wed Sep 6 08:01:34 CDT 2006
On Wed, Sep 06, 2006 at 01:37:25PM +0200, Tom Backer Johnsen wrote:
> I want to give my coauthors and myself the ability to mupload and
> dispay images in PmWiki. What I have done:
>
> in the config.php:
>
> $EnableUpload = 1;
> $DefaultPasswords['upload'] = crypt('secret');
> $UploadDir = '/textbook/uploads';
> $UploadUrlFmt = "http://localhost/textbook/uploads";
> $UploadPrefixFmt = '';
>
> Where the upload directory is located in the same directory as
> pmwiki.php.
As defined above, $UploadDir is set to be '/textbook/uploads'
in the root directory of your filesystem. Try removing that
line. PmWiki will then default $UploadDir to be the uploads/
directory in the same directory as pmwiki.php (which is probably
what you're wanting).
Pm
More information about the pmwiki-users
mailing list