소스 검색

:bug: 缺少变量导致设置页面出不来

visuddhinanda 4 년 전
부모
커밋
098500b72e
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      app/ucenter/setting.php

+ 1 - 2
app/ucenter/setting.php

@@ -24,7 +24,6 @@ require_once '../public/function.php';
 		
 		var g_device="computer";
 		var strSertch = location.search;
-		var gConfigDirMydocument="<?php echo _DIR_USER_DOC_."/".$userid._DIR_MYDOCUMENT_; ?>/";
 		
 		if(strSertch.length>0){
 			strSertch = strSertch.substr(1);
@@ -253,7 +252,7 @@ para:hover{
 
             echo "{$_local->gui->username}:{$_COOKIE["username"]} <button>{$_local->gui->modify}</button><br />";
             echo "{$_local->gui->nick_name}:{$_COOKIE["nickname"]} <button>{$_local->gui->modify}</button><br />";
-            echo "{$_local->gui->e_mail}:{$_COOKIE["email"]}<button>{$_local->gui->modify}</button><br />";
+            //echo "{$_local->gui->e_mail}:{$_COOKIE["email"]}<button>{$_local->gui->modify}</button><br />";
             echo "<a href='../ucenter/pwd_set.php'>{$_local->gui->change_password}</a><br>";
 			echo "<a href='login.php?op=logout'>{$_local->gui->logout}</a>";
 			echo "</div>";