SilentLittleCat преди 7 години
родител
ревизия
52a368d8f0
променени са 2 файла, в които са добавени 8 реда и са изтрити 8 реда
  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="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" />
+            <state relative-caret-position="739">
+              <caret line="146" column="55" lean-forward="false" selection-start-line="146" selection-start-column="55" selection-end-line="146" selection-end-column="55" />
               <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="10999000" />
+      <workItem from="1525658293907" duration="11033000" />
     </task>
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="36873000" />
+    <option name="totallyTimeSpent" value="36907000" />
   </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="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" />
+        <state relative-caret-position="739">
+          <caret line="146" column="55" lean-forward="false" selection-start-line="146" selection-start-column="55" selection-end-line="146" selection-end-column="55" />
           <folding />
         </state>
       </provider>

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

xqd xqd
@@ -124,7 +124,7 @@ class discuz_admincp
 			if($this->cpaccess == 2) {
 
 				$this->check_admin_login();
-			} elseif($this->cpaccess == 0) {print_r('ok');exit();
+			} elseif($this->cpaccess == 0) {
 				$this->check_user_login();
 			}
 		}
@@ -144,7 +144,7 @@ class discuz_admincp
 			C::t('common_admincp_session')->update($this->adminuser['uid'], $this->panel, array('dateline' => TIMESTAMP, 'ip' => $this->core->var['clientip'], 'errorcount' => -1));
 		}
 
-		if($this->cpaccess != 3) {
+		if($this->cpaccess != 3) {print_r('ok');exit();
 			$this->do_user_login();
 		}