From eb0500bbfa00c1c03c6660ef0e714109e698d9a6 Mon Sep 17 00:00:00 2001 From: whitelilis Date: Fri, 7 Apr 2017 09:14:39 +0800 Subject: [PATCH] $oj-name changed to $oj_name --- uoj/1/app/controllers/forgot_pw.php | 10 +++++----- uoj/1/app/controllers/problem_data_manage.php | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/uoj/1/app/controllers/forgot_pw.php b/uoj/1/app/controllers/forgot_pw.php index a0b7c92..b50c5ea 100644 --- a/uoj/1/app/controllers/forgot_pw.php +++ b/uoj/1/app/controllers/forgot_pw.php @@ -19,17 +19,17 @@ $user = $vdata['user']; $password = $user["password"]; - $oj-name = UOJConfig::$data['profile']['oj-name']; - $oj-name-short = UOJConfig::$data['profile']['oj-name-short']; + $oj_name = UOJConfig::$data['profile']['oj-name']; + $oj_name-short = UOJConfig::$data['profile']['oj-name-short']; $sufs = base64url_encode($user['username'] . "." . md5($user['username'] . "+" . $password)); $url = HTML::url("/reset-password", array('params' => array('p' => $sufs))); $html = <<

{$user['username']}您好,

-

您刚刚启用了{$oj-name-short}密码找回功能,请进入下面的链接重设您的密码:

+

您刚刚启用了{$oj_name-short}密码找回功能,请进入下面的链接重设您的密码:

$url

-

{$oj-name}

+

{$oj_name}