[pmwiki-users] Re: Invalid attachment links
H. Fox
haganfox at users.sourceforge.net
Sat Sep 17 17:58:30 CDT 2005
On 9/17/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Sat, Sep 17, 2005 at 01:23:54PM -0700, H. Fox wrote:
> > On 9/16/05, Keith Constable <kccricket at gmail.com> wrote:
> > > Keith Constable <kccricket <at> gmail.com> writes:
> > > > I just recently installed PmWiki v2.0.6 for the first time.
> > > > I seem to have an issue where any files I upload and then
> > > > reference to with an Attach: gives me a broken hyperlink/imagelink.
> > >
> > > Heheheeh. Never mind. I'm just a bit slow.
> > > $UploadUrlFmt
> >
> > I've notice before that it seems like that one should be in
> > sample-config.php, as in
> >
> > ## $ScriptUrl is your preferred URL for accessing wiki pages
> > ## $PubDirUrl is the URL for the pub directory.
> > ## $UploadUrlFmt is the URL for the uploads directory.
> > # $ScriptUrl = 'http://www.mydomain.com/path/to/pmwiki.php';
> > # $PubDirUrl = 'http://www.mydomain.com/path/to/pub';
> > # $UploadUrlFmt = 'http://www.mydomain.com/path/to/uploads';
>
> I haven't done this yet because it has the potential to cause
> confusion; an uploads/ directory typically doesn't exist until
> uploads have been enabled and a file has been uploaded. So
> a new administrator might be confused by what to do with this
> variable if uploads doesn't exist yet.
>
> Thoughts? It might be okay if sample-config.php contained
> a reference to $UploadUrlFmt in the same section that
> sets $EnableUpload and other upload variables...
How about referring to $EnableUpload in the comment?
## $UploadUrlFmt is the URL for the uploads directory (see $EnableUpload).
Hagan
>
> Pm
>
More information about the pmwiki-users
mailing list