Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue committed May 19, 2016
1 parent d1e2476 commit 761b4c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion trunk/web/csrf.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
@session_start();
$token = md5(uniqid(rand(), true));
require_once("include/my_func.inc.php");
$token = getToken();
if(!isset($_SESSION['csrf_keys'])){
$_SESSION['csrf_keys']=array();
}
Expand Down

0 comments on commit 761b4c5

Please sign in to comment.