dever 5 years ago
parent
commit
e6927aafe4
3 changed files with 4 additions and 4 deletions
  1. 1 1
      assets/layadmin/html/project/database/update.html
  2. 1 1
      index.php
  3. 2 2
      src/Auth.php

+ 1 - 1
assets/layadmin/html/project/database/update.html

@@ -19,7 +19,7 @@
       width: 100%;
     }
 
-    .dever_text_child {
+    .dever_form_add_child {
       padding:15px;
     }
     .dever_form_delete {

+ 1 - 1
index.php

@@ -1,5 +1,5 @@
 <?php
-
+define('DEVER_SESSION', 1);
 define('DEVER_APP_NAME', 'manage');
 define('DEVER_APP_LANG', '后台设置');
 define('DEVER_APP_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);

+ 2 - 2
src/Auth.php

@@ -31,8 +31,8 @@ class Auth
      */
     public function __construct()
     {
-        $this->save = new Oper(DEVER_PROJECT, 'session');
-        $this->name = DEVER_PROJECT . '_manage';
+        $this->save = new Oper(false, 'session');
+        $this->name = 'manage';
     }
 
     public function test()