kesar / HTMLawed

a highly customizable PHP script to sanitize / make (X)HTML secure against XSS attacks, so users can edit HTML without risk of your site getting compromised by evildoers.
GNU General Public License v2.0
36 stars 17 forks source link

Use include-path instead of autoload #9

Open AlexanderS opened 8 years ago

AlexanderS commented 8 years ago

With the current composer.json the htmLawed.php is required on every request. It would maybe better to drop the autoloader and include somthing like:

"include-path": [ "./" ]

so that the user can simply require the php file if it is realy required.