// Rewrite patch
$SEP = (strstr(__FILE__, '\\') === FALSE) ? '/' : '\\';
require_once dirname(__FILE__).$SEP.'rewrite.php';