/** * Confirm that the rewrite rules are firing * * @param array &$report The requirements report array * * @return void */ protected function checkRewriteRules(&$report) { $tester = new ElggRewriteTester(); $url = _elgg_services()->config->getSiteUrl() . "rewrite.php"; $report['rewrite'] = array($tester->run($url, Directory\Local::root()->getPath())); }
/** * Confirm that the rewrite rules are firing * * @param array &$report The requirements report array * * @return void */ protected function checkRewriteRules(&$report) { global $CONFIG; $tester = new ElggRewriteTester(); $url = elgg_get_site_url() . "rewrite.php"; $report['rewrite'] = array($tester->run($url, $CONFIG->path)); }
/** * Confirm that the rewrite rules are firing * * @param array &$report The requirements report array * * @return void */ protected function checkRewriteRules(&$report) { $tester = new ElggRewriteTester(); $url = _elgg_services()->config->getSiteUrl() . "rewrite.php"; $report['rewrite'] = array($tester->run($url, $this->CONFIG->path)); }