protected function includeHandlers()
{
if (is_array($this->handlers) && !empty($this->handlers)) {
foreach ($this->handlers as $key => $name) {
if (file_exists(BASEDIR . "includes/rewrites/" . $name . "_rewrite_include.php")) {
// If the File is found, include it
include BASEDIR . "includes/rewrites/" . $name . "_rewrite_include.php";
if (isset($regex) && is_array($regex)) {
$this->addRegexTag($regex, $name);
unset($regex);
}
// Load pattern tables into driver
if (isset($pattern_tables) && is_array($pattern_tables)) {
$this->pattern_tables[$name] = $pattern_tables;
unset($pattern_tables);
}
} else {
$this->setWarning(4, $name . "_rewrite_include.php");
}
}
}
}