Reintroduce to_referer(), redirect() does not work with get_referer()

This commit is contained in:
Martin Willi
2010-04-28 09:03:08 +02:00
parent 69e492f2e2
commit 40fb7165a9
2 changed files with 25 additions and 0 deletions
+5
View File
@@ -112,6 +112,11 @@ struct request_t {
*/
char* (*get_referer)(request_t *this);
/**
* Redirect back to the referer.
*/
void (*to_referer)(request_t *this);
/**
* Set a template value.
*