Commit 2073753b authored by Andrew Hodgkinson's avatar Andrew Hodgkinson
Browse files

First stage of customer work. Makefile compile time options additon -

CUSTOMER_SPECIAL. All code for customer to go under this. Redirections to
/login.html now go to /simple.html instead, and the Messages file has
additions to report errors if required for debugging regarding the
JavaScript encountered on the page.
parent bc0dc4d4
......@@ -2647,6 +2647,19 @@ _kernel_oserror * html_get_next_token(browser_data * b, unsigned int handle, int
flex_free(source);
*source = NULL;
/* Customer specific */
#ifdef CUSTOMER_SPECIAL
if (!strcmp(redirect,"http://www.customer.net/login.cgi"))
{
// Send out cookie...
redirect = (char *) "http://www.customer.com/simple.html";
}
#endif
/* Set the fetch's urlstat structure to say that */
/* no data has been fetched */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment