Vergleich admin/modules/tools/file_verification.php - 1.6.2 - 1.6.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: file_verification.php 5165 2010-08-02 06:12:16Z RyanGordon $

 * $Id$

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 58Zeile 58
			if(substr($parts[1], 0, 7) == "./admin")
{
$parts[1] = "./{$mybb->config['admin_dir']}".substr($parts[1], 7);

			if(substr($parts[1], 0, 7) == "./admin")
{
$parts[1] = "./{$mybb->config['admin_dir']}".substr($parts[1], 7);

 
			}

if(file_exists(MYBB_ROOT."forums.php") && !file_exists(MYBB_ROOT."portal.php"))
{
if(trim($parts[1]) == "./index.php")
{
$parts[1] = "./forums.php";
}
elseif($parts[1] == "./portal.php")
{
$parts[1] = "./index.php";
}

			}

$checksums[trim($parts[1])][] = $parts[0];

			}

$checksums[trim($parts[1])][] = $parts[0];