[PR #1031] [MERGED] login (Redirecting to Main domain of website instead of tfm.php) fix #1125

Closed
opened 2026-03-02 16:03:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/prasathmani/tinyfilemanager/pull/1031
Author: @xololunatic
Created: 4/24/2023
Status: Merged
Merged: 4/24/2023
Merged by: @prasathmani

Base: masterHead: patch-1


📝 Commits (1)

  • 6c00959 login (Redirecting to Main domain of website instead of tfm.php) fix

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 tinyfilemanager.php (+2 -2)

📄 Description

When logged in it takes to the website's main URL. For example, if I have tfm in www.example.com/tfm/index.php (index.php is tfm) then after logging in it redirects to www.example.com and then have to press back on the browser then it takes to www.example.com/tfm/index.php

So this fixes this:(Already covered in an issue but not updated yet in file why?) (#1021)
fm_redirect(FM_ROOT_URL);
to
fm_redirect(FM_SELF_URL);


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/prasathmani/tinyfilemanager/pull/1031 **Author:** [@xololunatic](https://github.com/xololunatic) **Created:** 4/24/2023 **Status:** ✅ Merged **Merged:** 4/24/2023 **Merged by:** [@prasathmani](https://github.com/prasathmani) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`6c00959`](https://github.com/prasathmani/tinyfilemanager/commit/6c009598761af7421d91e55e2b2f35412e5d0468) login (Redirecting to Main domain of website instead of tfm.php) fix ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tinyfilemanager.php` (+2 -2) </details> ### 📄 Description When logged in it takes to the website's main URL. For example, if I have tfm in www.example.com/tfm/index.php (index.php is tfm) then after logging in it redirects to www.example.com and then have to press back on the browser then it takes to www.example.com/tfm/index.php So this fixes this:(Already covered in an issue but not updated yet in file why?) (#1021) `fm_redirect(FM_ROOT_URL);` to `fm_redirect(FM_SELF_URL);` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 16:03:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#1125
No description provided.