该系统为使用PHP开发的基于web的Subversion(SVN)服务器端管理工具。支持功能:SVN仓库管理、SVN用户管理、SVN分组管理、目录授权、目录浏览、Hooks管理、在线dump备份、在线备份恢复、SVN用户禁用、服务器状态管理、日志管理、消息通知、更新检测...
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* @Author: witersen
|
|
|
|
* @Date: 2022-05-07 00:38:48
|
|
|
|
* @LastEditors: witersen
|
|
|
|
* @LastEditTime: 2022-05-11 18:24:28
|
|
|
|
* @Description: QQ:1801168257
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* for MySQL
|
|
|
|
* config from Medoo 1.7.10
|
|
|
|
*/
|
|
|
|
// return [
|
|
|
|
// 'database_type' => 'mysql',
|
|
|
|
// 'server' => 'localhost',
|
|
|
|
// 'database_name' => 'svnadmin',
|
|
|
|
// 'username' => 'svnadmin',
|
|
|
|
// 'password' => 'svnadmin',
|
|
|
|
// 'charset' => 'utf8mb4',
|
|
|
|
// 'collation' => 'utf8mb4_general_ci',
|
|
|
|
// 'port' => 3306,
|
|
|
|
// 'prefix' => '',
|
|
|
|
// 'logging' => false,
|
|
|
|
// 'option' => [
|
|
|
|
// PDO::ATTR_CASE => PDO::CASE_NATURAL
|
|
|
|
// ],
|
|
|
|
// 'command' => [
|
|
|
|
// 'SET SQL_MODE=ANSI_QUOTES'
|
|
|
|
// ]
|
|
|
|
// ];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* for SQLite
|
|
|
|
* config from Medoo 1.7.10
|
|
|
|
*
|
|
|
|
* %s 为占位符 无需修改
|
|
|
|
*/
|
|
|
|
|
|
|
|
return [
|
|
|
|
'database_type' => 'sqlite',
|
|
|
|
'database_file' => '%ssvnadmin.db'
|
|
|
|
];
|