Elgg/Elgg — pull request #6659 by mrclay (2014-03-23 01:32:39+00:00)
Title: fix(rewrite_tester): more reliably sniffs active rewrite rules

Under certain conditions curl would fail to open localhost URLs where
file_get_contents would handle fine. This tries file_get_contents first
instead of curl.