enygma / expose

An Intrusion Detection System library loosely based on PHP IDS
MIT License
266 stars 55 forks source link

FilterCollection::load fails with fullpath #26

Closed tomtomsen closed 10 years ago

tomtomsen commented 10 years ago
$filter_collection = new FilterCollection(__DIR__ . '/mypath/filter.json');

will currently fail, because DIR will be added.

enygma commented 10 years ago

Ah, good catch - thanks for the patch