I can't redirect to my main Page after the login
My structure:
views/auth/login.php <-- Thats my Login Page
public/index.php/ <-- router
https://sub.mydomain.de/auth/login <-- login url
https://sub.mydomain.de/ <-- url after Login
If the login was valid I want to redirect the user to this page https://sub.mydomain.de/
I tried:
header("/../../../public/index.php")