Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL in auth_functions are relative #25

Open
ARGO1960 opened this issue Jan 1, 2021 · 1 comment
Open

URL in auth_functions are relative #25

ARGO1960 opened this issue Jan 1, 2021 · 1 comment

Comments

@ARGO1960
Copy link

ARGO1960 commented Jan 1, 2021

Hi,
Great base to work with thanks for your work!!.

I noticed that in "/assets/includes/auth_functions.php" the header("Location: ../home/"); are relative.
that means they can only be included from an level one dir.
maybe header("Location: /home/"); is an solution or an entry in the env.php file.. that way its only one change...

@msaad1999
Copy link
Owner

Good idea, I do like having as many shared constants as possible present in env files, that ensures consistency in the app and makes changing anything easier. I will make this change along with some more as soon as I get some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants