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

Update URL handling #4

Closed
wants to merge 1 commit into from
Closed

Update URL handling #4

wants to merge 1 commit into from

Conversation

SirSobhan
Copy link

@SirSobhan SirSobhan commented Aug 12, 2023

This commit addresses a URL handling issue in the main page (index.php). Previously, the code on line 13 was using $_SERVER['SCRIPT_URL'] to retrieve the URL, but this variable is not always defined. This led to inconsistencies in URL generation.

Changes Made:

  • Modified 'index.php' on line 13 to use $_SERVER['REQUEST_URI'] if $_SERVER['SCRIPT_URL'] is not defined.

Closure of Issues:

This commit addresses a URL handling issue in the main page (`index.php`). Previously, the code on line 13 was using `$_SERVER['SCRIPT_URL']` to retrieve the URL, but this variable is not always defined. This led to inconsistencies in URL generation.

Changes Made:
- Modified 'index.php' on line 13 to use `$_SERVER['REQUEST_URI']` if `$_SERVER['SCRIPT_URL']` is not defined.
@SirSobhan SirSobhan closed this by deleting the head repository Sep 7, 2023
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

Successfully merging this pull request may close these issues.

مشکل در نمایش اطلاعات کاربر و کانفیگ ها ارور 27
1 participant