SilentLittleCat 7 years ago
parent
commit
9de8922e95
2 changed files with 9 additions and 8 deletions
  1. 6 6
      .idea/workspace.xml
  2. 3 2
      source/class/discuz/discuz_admincp.php

+ 6 - 6
.idea/workspace.xml

xqd xqd xqd
@@ -132,8 +132,8 @@
       <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="398">
-              <caret line="75" column="15" lean-forward="false" selection-start-line="75" selection-start-column="15" selection-end-line="75" selection-end-column="15" />
+            <state relative-caret-position="553">
+              <caret line="125" column="23" lean-forward="false" selection-start-line="125" selection-start-column="23" selection-end-line="125" selection-end-column="23" />
               <folding />
             </state>
           </provider>
@@ -309,12 +309,12 @@
       <workItem from="1525227575525" duration="11054000" />
       <workItem from="1525275777043" duration="4000" />
       <workItem from="1525612433789" duration="9986000" />
-      <workItem from="1525658293907" duration="6239000" />
+      <workItem from="1525658293907" duration="6274000" />
     </task>
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="32113000" />
+    <option name="totallyTimeSpent" value="32148000" />
   </component>
   <component name="ToolWindowManager">
     <frame x="-9" y="-9" width="1938" height="1048" extended-state="7" />
@@ -807,8 +807,8 @@
     </entry>
     <entry file="file://$PROJECT_DIR$/source/class/discuz/discuz_admincp.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="398">
-          <caret line="75" column="15" lean-forward="false" selection-start-line="75" selection-start-column="15" selection-end-line="75" selection-end-column="15" />
+        <state relative-caret-position="553">
+          <caret line="125" column="23" lean-forward="false" selection-start-line="125" selection-start-column="23" selection-end-line="125" selection-end-column="23" />
           <folding />
         </state>
       </provider>

+ 3 - 2
source/class/discuz/discuz_admincp.php

xqd xqd
@@ -72,8 +72,7 @@ class discuz_admincp
 
 		global $_G;
 		$session = array();
-        print_r('ok');
-        exit();
+
 		if(!$this->adminuser['uid']) {
 			$this->cpaccess = 0;
 		} else {
@@ -123,6 +122,8 @@ class discuz_admincp
 
 		if($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['admin_password'])) {
 			if($this->cpaccess == 2) {
+                print_r('ok');
+                exit();
 				$this->check_admin_login();
 			} elseif($this->cpaccess == 0) {
 				$this->check_user_login();