Added purge_all_caches() routine to functions.php. Temporary, will be discarded once the new cache code is implemented
# Used for testing mod_rewrite.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) install.php?do=modrewrite_test&str=$1
</IfModule>