hi

i'm using the quicktime recipe, and i'm realizing that it won't allow  
me to embed files from AnotherGroup - for instance, the following works:

        (:quicktime Attach:myfile.mp3:)

but this fails

        (:quicktime Attach:AnotherGroup./myfile.mp3:)

this appears to be occuring b/c of a conditional in the quicktime  
recipe:

        $filepath = FmtPageName("$UploadFileFmt/".$path, $pagename);
        $FileUrl = LinkUpload($pagename, $imap, $path, $imap.$path, $imap. 
$path, "\$LinkUrl");
        if (!file_exists($filepath))
                return $FileUrl;

$filepath is returning an incorrect path:
/my/server/public_html/pmwiki/CurrentGroup/AnotherGroup./myfile.mp3


i can think of a couple long ways around to correct this, but i'm  
wondering if anyone has a suggestion for a quick way to correct how  
$filepath & FmtPageName are executing?

thanks,
adam


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to