I had this problem when setting up the first one
Code: Select all
if(strstr(realpath($page),"/var/www/html/") == ""){
echo "<script>window.location.href=\"default.php\"</script>";
exit();
}What do I need to do for the new site, I have the following code:
have a similar problem for the new site, this website uses old site's database for it's images!
In new site's default.php, I have the following code:
Code: Select all
if(strstr(realpath($page),"/var/www/html/") == ""){
//if(strstr(realpath($page),"e:\\inetpub\\wwwroot\\flairfashions\\wholesale\\") == ""){
echo "<script>window.location.href=\"default.php\"</script>";
exit();