608d05cf5e
功能: - 用户登录/退出 - 文档列表展示(支持子目录) - 关键词搜索 - Markdown 文档在线查看 - 管理员添加用户脚本
10 lines
131 B
PHP
10 lines
131 B
PHP
<?php
|
|
require_once 'config.php';
|
|
|
|
// 清除 session
|
|
session_destroy();
|
|
|
|
// 跳转到登录页
|
|
header('Location: index.php');
|
|
exit;
|