Unnecessary redirect on pages

0

Hello.

I received a ready-made website. What happens is that I can not open it at all in my localhost.

What happens is that when I open the localhost / index.php page the browser generates the following error ERR_TOO_MANY_REDIRECTS

When I open index.php, I find the following lines.

QApplication::Redirect("/");
exit();

Does that make any sense? At the beginning of the page there is a redirect and a script termination, with index.php having 250 lines of code. Why is this so? Remember that this is a backup and the site works on a server: link

    
asked by anonymous 19.04.2017 / 14:18

0 answers