[pmwiki-users] How to add new image type

Patrick R. Michaud pmichaud at pobox.com
Sat Jan 14 22:31:42 CST 2006


On Sun, Jan 15, 2006 at 04:58:44PM +1300, Simon wrote:
>    To Anno & PM - thanks.
>    Does this mean that if another extension type is added to the distribution
>    I'll have to change this line

Yes, but the extension types in the distribution have changed only
twice in PmWiki's history; I doubt it's going to change frequently.

But if you really want to be on the safe side, you can do:

    $ImgExtPattern = "$ImgExtPattern|\\.ico|\\.ICO";

Pm





More information about the pmwiki-users mailing list