View Single Post
  #17  
Old 15th July 2008, 07:54
Keiichi Keiichi is offline
Senior Member
 
Join Date: Feb 2008
Brazil
Posts: 25
Default re: TS SE v5.1 NULLED
posible fix for . Corrupted file detected! Please re-upload the following file in binary mode: ./../admin/adduser.php

category.php
133 / 162

Code:
/*  clearstatcache();
if ($___handle = @fopen(SPACER, "r"))
{
	while (!feof ($___handle))
	{
		$___line = trim(fgets($___handle, 4096));
		if ($___line)
		{
			$___a = explode('~~~', $___line);
			$___hash = strtoupper(trim($___a[0]));
			$___file = trim($___a[1]);
			if (!preg_match('#^install/#', $___file))
			{
				if (!is_file($rootpath.$___file) || !file_exists($rootpath.$___file))
				{
					die('Corrupted file detected! Please re-upload the following file in binary mode: '.$rootpath.$___file);
				}
				elseif (strtoupper(trim(md5_file($rootpath.$___file))) != $___hash)
				{
					die('Corrupted file detected! Please re-upload the following file in binary mode: '.$rootpath.$___file);
				}
			}
		}
	}
	@fclose($___handle);
}
else
{
	die('Corrupted file detected! Please re-download the source code from https://templateshares.net');
}*/
Reply With Quote