diff options
Diffstat (limited to 'ikiwiki/pagespec/attachment')
-rw-r--r-- | ikiwiki/pagespec/attachment/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ikiwiki/pagespec/attachment/index.html b/ikiwiki/pagespec/attachment/index.html index b549a2836d6..50f40676e26 100644 --- a/ikiwiki/pagespec/attachment/index.html +++ b/ikiwiki/pagespec/attachment/index.html @@ -83,7 +83,7 @@ while allowing larger mp3 files to be uploaded by joey into a specific directory, and check all attachments for viruses, something like this could be used:</p> -<pre><code>virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or (mimetype(image/*) and maxsize(50kb))) +<pre><code>virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or ((mimetype(image/jpeg) or mimetype(image/png)) and maxsize(50kb))) </code></pre> <p>The regular <a href="../">PageSpec</a> syntax is expanded with the following @@ -131,7 +131,7 @@ include a glob in the type, for example <code>mimetype(image/*)</code>.</p></li> <!--<div class="pagedate"> - Last edited <span class="date">Sex 12 Set 2014 17:23:58 BRT</span> + Last edited <span class="date">Sex 06 Mai 2016 03:57:45 BRT</span> </div> --> </div> |