Change include path to work on more configurations

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43117 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-10-04 21:59:51 +00:00
parent f4dd20b979
commit 290097242d

View File

@ -215,7 +215,7 @@ class SSHTMLBBCodeParser
$filter = ucfirst($filter);
if (!array_key_exists($filter, $this->_filters)) {
$class = 'SSHTMLBBCodeParser_Filter_'.$filter;
@include_once 'HTML/BBCodeParser/Filter/'.$filter.'.php';
@include_once 'BBCodeParser/Filter/'.$filter.'.php';
if (!class_exists($class)) {
//PEAR::raiseError("Failed to load filter $filter", null, PEAR_ERROR_DIE);