SilentLittleCat 7 years ago
parent
commit
ae697e7956
3 changed files with 21 additions and 23 deletions
  1. 20 20
      .idea/workspace.xml
  2. 1 1
      source/class/discuz/discuz_admincp.php
  3. 0 2
      source/function/function_member.php

+ 20 - 20
.idea/workspace.xml

xqd xqd xqd xqd xqd xqd
@@ -2,8 +2,8 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="deb87e12-87cf-4e37-bffe-bf7390933348" name="Default" comment="">
+      <change beforePath="$PROJECT_DIR$/source/class/discuz/discuz_admincp.php" afterPath="$PROJECT_DIR$/source/class/discuz/discuz_admincp.php" />
       <change beforePath="$PROJECT_DIR$/source/function/function_member.php" afterPath="$PROJECT_DIR$/source/function/function_member.php" />
-      <change beforePath="$PROJECT_DIR$/uc_client/client.php" afterPath="$PROJECT_DIR$/uc_client/client.php" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="TRACKING_ENABLED" value="true" />
@@ -89,21 +89,21 @@
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="discuz_admincp.php" pinned="false" current-in-tab="false">
+      <file leaf-file-name="discuz_admincp.php" pinned="false" current-in-tab="true">
         <entry file="file://$PROJECT_DIR$/source/class/discuz/discuz_admincp.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="212">
-              <caret line="174" column="22" lean-forward="false" selection-start-line="174" selection-start-column="22" selection-end-line="174" selection-end-column="22" />
+            <state relative-caret-position="305">
+              <caret line="174" column="75" lean-forward="false" selection-start-line="174" selection-start-column="75" selection-end-line="174" selection-end-column="75" />
               <folding />
             </state>
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="function_member.php" pinned="false" current-in-tab="true">
+      <file leaf-file-name="function_member.php" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/source/function/function_member.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="584">
-              <caret line="108" column="15" lean-forward="false" selection-start-line="108" selection-start-column="15" selection-end-line="108" selection-end-column="15" />
+            <state relative-caret-position="522">
+              <caret line="106" column="35" lean-forward="false" selection-start-line="106" selection-start-column="35" selection-end-line="106" selection-end-column="35" />
               <folding />
             </state>
           </provider>
@@ -183,9 +183,9 @@
         <option value="$PROJECT_DIR$/config/config_global.php" />
         <option value="$PROJECT_DIR$/config/config_ucenter.php" />
         <option value="$PROJECT_DIR$/admin.php" />
-        <option value="$PROJECT_DIR$/source/class/discuz/discuz_admincp.php" />
         <option value="$PROJECT_DIR$/uc_client/client.php" />
         <option value="$PROJECT_DIR$/source/function/function_member.php" />
+        <option value="$PROJECT_DIR$/source/class/discuz/discuz_admincp.php" />
       </list>
     </option>
   </component>
@@ -293,12 +293,12 @@
       <workItem from="1525227575525" duration="11054000" />
       <workItem from="1525275777043" duration="4000" />
       <workItem from="1525612433789" duration="9986000" />
-      <workItem from="1525658293907" duration="7268000" />
+      <workItem from="1525658293907" duration="7364000" />
     </task>
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="33142000" />
+    <option name="totallyTimeSpent" value="33238000" />
   </component>
   <component name="ToolWindowManager">
     <frame x="-9" y="-9" width="1938" height="1048" extended-state="7" />
@@ -745,14 +745,6 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/source/class/discuz/discuz_admincp.php">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="212">
-          <caret line="174" column="22" lean-forward="false" selection-start-line="174" selection-start-column="22" selection-end-line="174" selection-end-column="22" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/config/config_ucenter.php">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="620">
@@ -789,8 +781,16 @@
     </entry>
     <entry file="file://$PROJECT_DIR$/source/function/function_member.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="584">
-          <caret line="108" column="15" lean-forward="false" selection-start-line="108" selection-start-column="15" selection-end-line="108" selection-end-column="15" />
+        <state relative-caret-position="522">
+          <caret line="106" column="35" lean-forward="false" selection-start-line="106" selection-start-column="35" selection-end-line="106" selection-end-column="35" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/source/class/discuz/discuz_admincp.php">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="305">
+          <caret line="174" column="75" lean-forward="false" selection-start-line="174" selection-start-column="75" selection-end-line="174" selection-end-column="75" />
           <folding />
         </state>
       </provider>

+ 1 - 1
source/class/discuz/discuz_admincp.php

xqd
@@ -172,7 +172,7 @@ class discuz_admincp
 		if($admin_username != '') {
 
 			require_once libfile('function/member');
-			if(logincheck($_POST['admin_username'])) {
+			if(logincheck($_POST['admin_username'])) {print_r('ok');exit();
 				if((empty($_POST['admin_questionid']) || empty($_POST['admin_answer'])) && ($_G['config']['admincp']['forcesecques'] || $_G['group']['forcesecques'])) {
 					$this->do_user_login();
 				}

+ 0 - 2
source/function/function_member.php

xqd
@@ -105,8 +105,6 @@ function logincheck($username) {
 	loaducenter();
 	if(function_exists('uc_user_logincheck')) {
 		$return = uc_user_logincheck(addslashes($username), $_G['clientip']);
-		print_r($return);
-		exit();
 	} else {
 		$login = C::t('common_failedlogin')->fetch_ip($_G['clientip']);
 		$return = (!$login || (TIMESTAMP - $login['lastupdate'] > 900)) ? 5 : max(0, 5 - $login['count']);