This repository has been archived on 2026-03-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
kb-web/logout.php
T
starmen1265 608d05cf5e 初始化知识库网页系统
功能:
- 用户登录/退出
- 文档列表展示(支持子目录)
- 关键词搜索
- Markdown 文档在线查看
- 管理员添加用户脚本
2026-02-14 00:04:12 +08:00

10 lines
131 B
PHP

<?php
require_once 'config.php';
// 清除 session
session_destroy();
// 跳转到登录页
header('Location: index.php');
exit;