Topic: Redirection after application
Hy!
I'm new to the jobberbase development and want to use this open system as a base for future portals.
Thanks for your great work and lots of time you spend into this project!
I found a problem with the usage of HTTP-REFERER after the application,
because I had deactivate this function in my browser and stopped at an blank white page, because I should redirect to my referer. (The Job-Detail page)
That was not a critical problem, because the application was send successfully, but unaesthetic. ![]()
I have solved the problem with replacing the last 3 lines in the file /page_apply.php with the following lines:
if(!empty($_SERVER['HTTP_REFERER'])) {
$ref = $_SERVER['HTTP_REFERER'];
} else {
$ref = "/job/".$job_id."/success/";
}
redirect_to($ref);
exit;
I hope you understand my german english an I could make jb a little bit better. ![]()
bye,
Grace