>> Line 58 doesn't work: >> if(strpos('%',$file) === false) continue; >> unless it's: >> if(strpos($file,'%') === false) continue; >> > Found another typo, you had 'metadir' where you need 'mediadir' at lines > 42-43. I've attached a patch file for both issues. Thanks for testing and catching these errors. Patch applied Andi -- splitbrain.org -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist