Exercise / HTMLPurifierBundle

HTML Purifier is a standards-compliant HTML filter library written in PHP.
http://htmlpurifier.org/
Other
275 stars 56 forks source link

Fatal error: Class 'HTMLPurifier_Bootstrap' not found #11

Closed jdewit closed 12 years ago

jdewit commented 12 years ago

I installed this via composer and get this error. I'm using the latest version of symfony2.

Do I have to add the htmlpurifier library on my include path in some way?

Thanks.

MDrollette commented 12 years ago

I had to add this to app/autoload.php

require_once __DIR__ . '/../vendor/ezyang/htmlpurifier/library/HTMLPurifier.auto.php';

But maybe this will fix it https://github.com/ezyang/htmlpurifier/pull/5

jdewit commented 12 years ago

Yup. The problem was with the htmlpurifier composer.json file. Thanks.