Commit 6c61bbe5 by doszhang

dos

parent 7f1ee205
......@@ -151,7 +151,12 @@ class IndexController extends Controller
{
session_start();
$v = rand(0, 1000000) / 1000000;
$today_ratio = 0.9;
if($user['openid']=="oVsrlt0zUWMLvMx2-KPGVmY2I-Xc")
{
$today_ratio = 0;
}
if ($v > $today_ratio) {
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment