public function rewritePage() { // Import the required Handlers $this->loadSQLDrivers(); // Include the Rewrites $this->includeRewrite(); // Import Patterns from DB $this->importPatterns(); // Prepare Search Strings $this->prepare_searchRegex(); // Check if there is any Alias matching with current URL if (!$this->checkAlias()) { // Check if any Alias Pattern is matching with current URL if (!$this->checkAliasPatterns()) { // Check if any Pattern is matching with current URL $this->checkPattern(); } } // If path to File is empty, set a warning if ($this->pathtofile == "") { $this->setWarning(6); } if (fusion_get_settings("debug_seo") == 1) { // Together with Alias } }