[pmwiki-users] Images Upload 'n Link
Patrick R. Michaud
pmichaud at pobox.com
Fri May 19 09:07:58 CDT 2006
On Thu, May 18, 2006 at 06:09:08PM -1000, Sivakatirswami wrote:
>
> On May 18, 2006, at 5:01 PM, Patrick R. Michaud wrote:
>
> > Based on a later section of your message, it looks to me
> > as though you need to set $UploadUrlFmt in config.php to:
> >
> > $UploadUrlFmt = 'http://www.himalayanacademy.com/admin_wiki/
> > uploads';
>
> Bingo: Thanks Patrick, that did it.
>
> Of course that had to be set in the field conf
>
> /admin_wiki/local/config.php
>
> since that path is specific to this particular field.
>
> Is there a way to set that in the farmconfig.php of the main /
> pmwiki/ "farm engine" directory, for all fierld wikis?
It absolutely depends on how you have your farm structured.
If all farms are structured such that the $UploadUrlFmt value
can be easily determined from $ScriptUrl (or some other variable),
then it's no problem. But if different wikis in the farm have
different url address formats, it's probably easier to do it on
a per-wiki basis.
Pm
More information about the pmwiki-users
mailing list