RewriteRule ^main/subscribe$ index.php?action=subscribe [L,QSA]
RewriteRule ^main/unsubscribe$ index.php?action=unsubscribe [L,QSA]
+RewriteRule ^main/confirmemail$ index.php?action=confirmemail [L,QSA]
+RewriteRule ^main/confirmemail/(.*)$ index.php?action=confirmemail&code=$1 [L,QSA]
RewriteRule ^settings/avatar$ index.php?action=avatar [L,QSA]
RewriteRule ^settings/password$ index.php?action=password [L,QSA]
} else {
return common_path($args['nickname']);
}
+ case 'confirmemail':
+ return common_path('main/confirmemail/'.$args['code']);
default:
return common_simple_url($action, $args);
}