PHPFusion\Rewrite\RewriteDriver::includeRewrite PHP Метод

includeRewrite() защищенный Метод

The include file will be included from INCLUDES."rewrites/".PREFIX."_rewrite_include.php
protected includeRewrite ( )
    protected function includeRewrite()
    {
        if (!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_once 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");
                }
            }
        }
    }