<?php 
//redirect to frontend website
header('location:http://'. str_replace('//', '/', $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] .'/web'));
Advertisements