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"));

ivan:
yes vano, works fine ;)

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

ivan:
this site(s) redirects to index.php
index.php,login.php,register.php,member.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 ?

Navigation

[0] Message Index

[#] Next page

Go to full version