4images Help / Hilfe > Bug Fixes & Patches

[1.7.3 - 1.7.6] After login always redirect to index.php

(1/7) > >>

V@no:
After login 4images redirects to index.php instead of the same page the visitor logged in at.

In global.php find:
  $url = get_basefile(getenv("HTTP_REFERER"));


Replace it with:
  $url = get_basename(getenv("HTTP_REFERER"));

batu544:
V@no,
            Not working for me   :(  .. Still it redirects to index.php ..

batu544:
I need in this way ... . If one user is logging in  on detail page then he should remain in that detail page after login. Is it possible ?

V@no:
That's what this fix does.
If if it doesn't work for you, there is must be something else you've modified that prevents it from working properly...

P.S.
I haven't test this fix on other 4images version then v1.7.6, however I pretty sure it should work on v1.7.3 and newer.

batu544:
hmm..  :(  .. then how to find out that ??

Navigation

[0] Message Index

[#] Next page

Go to full version