[pmwiki-users] pmwiki-2.0.beta31 released
Patrick R. Michaud
pmichaud at pobox.com
Fri Apr 15 16:20:45 CDT 2005
On Fri, Apr 15, 2005 at 10:02:30PM +0100, Hans wrote:
> Friday, April 15, 2005, 9:40:42 PM, Patrick wrote:
> > At the moment, Attach:filename looks at $EnableDirectDownload to
> > determine if it should generate a link based on $UploadUrlFmt or
> > based on ?action=download. I may change this so that it always
> > uses $UploadUrlFmt, and the value of $UploadUrlFmt changes depending
> > on the setting of $EnableDirectDownload (I haven't decided yet).
>
> ...still puzzled... does not ?action=download still look for the
> upload/ directory by checking $UploadUrlFmt? How would pmwiki know
> otherwise where to find the file?
Urls aren't the same as files on the file system -- PmWiki knows
the location of the uploads/ directory via the $UploadDirFmt variable.
$UploadUrlFmt is how PmWiki tells a *browser* where to look for
the files.
Pm
More information about the pmwiki-users
mailing list