summaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-03-18 23:38:15 +0800
committerchai <chaifix@163.com>2022-03-18 23:38:15 +0800
commitb970e38c6cbde1e573c1d7a1d1b1685c1ca5bde1 (patch)
tree1c61a26bf0970ce8fc0b2b11d547b926c403ef82 /config.php
parentf63d8e742f6f1cd0321acfd9ffcfd71afd6c956d (diff)
*admin login
Diffstat (limited to 'config.php')
-rw-r--r--config.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/config.php b/config.php
index b7e0e27..700fe83 100644
--- a/config.php
+++ b/config.php
@@ -20,8 +20,13 @@ class Config
public static $cover_upload_dir = "./cover";
public static $project_upload_dir = "./project";
- //
+ //
public static $music_per_page = 42;
+
+
+ public static $admin_token = "123";
+ public static $cookie_lifetime = 24*3600; //秒
+
}
?> \ No newline at end of file