Redirection to NYT?
Posted: Sun Aug 06, 2006 2:31 pm
Hello All,
With this code:
When I go to my site, I get redirected to the NEW YORK TIMES website.
Has my computer been infected with a virus already? Is there a Linux equiv. of a hosts file?
With this code:
Code: Select all
if (!defined('IN_TW')) die ('You Cannot Access this File Directly!');
$name = stripslashes($_GET['name']);
if (isset($name)){
if ($config['lock_modules']){
if ($name != TW_MODULE_DIR."Profile" && !$userdata['session_logged']) redirect(TW_TOP_DIR.'/index.php', $config['server_protocall'], 0);
}
if (!is_dir($name)) redirect(TW_TOP_DIR.'/index.php', $config['server_protocall'], 0);
if (file_exists($name . 'case.php')) require(TW_MODULE_DIR.$name.'/case.php');
else
die('Case File does not Exist');
}else{
require(TW_MODULE_DIR.'News/case.php') OR DIE('Could Not Include News Case File!');
}Has my computer been infected with a virus already? Is there a Linux equiv. of a hosts file?