[pmwiki-users] Attach Icons and unexpected "'"

sti at pooq.com sti at pooq.com
Thu Sep 13 07:25:31 CDT 2007


Graham Archer - EMEA Sun Center Operations wrote:
> Hi,
> 
> Trying to get:
> 
> Markup('attachicon', '<links'
>    "/\\bAttach:[^\\s$UrlExcludeChars]*\\.(mov|doc|xls)/",
>     'http://localhost/wiki3nov/pub/icons/$2.png $0');
> 
> to work as shown in http://www.pmwiki.org/wiki/Cookbook/AttachIcons
> 
> I get the following error:
> 
> *Parse error*: syntax error, unexpected '"' in 
> */opt/coolstack/apache2/htdocs/pmwiki/local/config.php* on line *280
> 
> *Can someone point out how to correct this?
> 
There's a comma missing. The first line should end with one:

  Markup('attachicon', '<links',

I've fixed the Cookbook entry as well.



More information about the pmwiki-users mailing list