SilentLittleCat 7 år sedan
förälder
incheckning
e9f2e2e256
2 ändrade filer med 8 tillägg och 8 borttagningar
  1. 6 6
      .idea/workspace.xml
  2. 2 2
      source/class/discuz/discuz_admincp.php

+ 6 - 6
.idea/workspace.xml

xqd xqd xqd
@@ -68,8 +68,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="367">
-              <caret line="58" column="21" lean-forward="false" selection-start-line="58" selection-start-column="21" selection-end-line="58" selection-end-column="21" />
+            <state relative-caret-position="553">
+              <caret line="126" column="65" lean-forward="false" selection-start-line="126" selection-start-column="65" selection-end-line="126" selection-end-column="65" />
               <folding />
             </state>
           </provider>
@@ -248,12 +248,12 @@
       <workItem from="1525227575525" duration="11054000" />
       <workItem from="1525275777043" duration="4000" />
       <workItem from="1525612433789" duration="9986000" />
-      <workItem from="1525658293907" duration="10945000" />
+      <workItem from="1525658293907" duration="10999000" />
     </task>
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="36819000" />
+    <option name="totallyTimeSpent" value="36873000" />
   </component>
   <component name="ToolWindowManager">
     <frame x="-9" y="-9" width="1938" height="1048" extended-state="7" />
@@ -747,8 +747,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="367">
-          <caret line="58" column="21" lean-forward="false" selection-start-line="58" selection-start-column="21" selection-end-line="58" selection-end-column="21" />
+        <state relative-caret-position="553">
+          <caret line="126" column="65" lean-forward="false" selection-start-line="126" selection-start-column="65" selection-end-line="126" selection-end-column="65" />
           <folding />
         </state>
       </provider>

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

xqd xqd
@@ -56,7 +56,7 @@ class discuz_admincp
 		$this->isfounder = $this->checkfounder($this->adminuser);
 
 		$this->sessionlimit = TIMESTAMP - $this->sessionlife;
-print_r('ok');exit();
+
 		$this->check_cpaccess();
 
 		$this->writecplog();
@@ -124,7 +124,7 @@ print_r('ok');exit();
 			if($this->cpaccess == 2) {
 
 				$this->check_admin_login();
-			} elseif($this->cpaccess == 0) {
+			} elseif($this->cpaccess == 0) {print_r('ok');exit();
 				$this->check_user_login();
 			}
 		}