Skip to content

Commit

Permalink
修复漏洞
Browse files Browse the repository at this point in the history
  • Loading branch information
bg5sbk committed Jan 11, 2014
1 parent 6acd217 commit 563cb6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mc-admin/head.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@

if ($token != md5($mc_config['user_name'].'_'.$mc_config['user_pass'])) {
Header("Location:index.php");
exit;
}
} else {
Header("Location:index.php");
exit;
}

$page_file = basename($_SERVER['PHP_SELF']);
Expand Down

0 comments on commit 563cb6a

Please sign in to comment.