1 Star 3 Fork 0

无形的肖申克 / 记忆片段

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
DBReset.php 485 Bytes
一键复制 编辑 原始数据 按行查看 历史
无形的肖申克 提交于 2022-11-29 16:15 . 小优化
<?php
// -----------------------------------------------------------------------------
include 'config/config.php';
include "DBManager.php";
// 取消超时
set_time_limit(0);
// -----------------------------------------------------------------------------
try {
$db = new DBManager($dbPath);
$db->reCreateDatabase();
$url = "/";
header("refresh:2; url=$url");
echo "数据库重置成功。";
} catch (Exception $e) {
echo $e->getMessage();
}
PHP
1
https://gitee.com/uanaoeng/jypd.git
git@gitee.com:uanaoeng/jypd.git
uanaoeng
jypd
记忆片段
master

搜索帮助