[pmwiki-devel] EnableDirectDownload
Simon
nzskiwi at gmail.com
Sun Nov 30 23:52:30 PST 2025
Is there a variable or helper for this
if (empty($EnableDirectDownload)) {
$url = PHSC("$ScriptUrl?n=$$fileNameFull&action=download"); # Direct
download disabled, route through pmwiki.php
} else {
$url = PHSC("$UploadUrlFmt/$fileNameFull"); #Direct download enabled
}
thanks
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20251201/7c391d30/attachment.html>
More information about the pmwiki-devel
mailing list