Project homepage: http://wiki.foosel.net/snippets/dokuwiki/filelist
FS#26 - Can't find media resources if $conf['savedir'] is an absolute path
Attached to Project:
Dokuwiki Filelist Plugin
Opened by Anonymous Submitter - Saturday, 17 May 2008, 16:58 GMT+2
Opened by Anonymous Submitter - Saturday, 17 May 2008, 16:58 GMT+2
|
DetailsI moved my data directory out of the wiki installation for security reasons, and the plugin no longer finds those files when configured for media access.
I've traced this to line 31 of syntax.php, which probably needs to be changed to check if the $conf['savedir'] is an absolute path, and if so, not prepend the DOKU_INC path prefix. |
This task depends upon
#$this->mediadir = rp(DOKU_INC.'/'.$conf['savedir'].'/media').'/';
$this->mediadir = rp($conf['savedir'].'/media');
</code>
fixed this **for me**. Also the default allowed pathes had to be changed.