forked from yumimobi/dbver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.php
executable file
·52 lines (47 loc) · 1.32 KB
/
config.example.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
define("MANY_USERS", false);
$config = array();
/**
* GIT_BIN
* git命令可执行路径,git必须配置为可用,否者会出现意想不到的问题
* windows必须把git加入到环境变量里,这里只写入git或者为空。
*
* GIT_PATCH
* 用来管理数据库版本的git仓库,必须拥有master推送权限
*
* GIT_USER 及 GIT_EMAIL
* 用来设置当前版本库的提交用户信息
*/
$config['GIT_BIN'] = "git";
$config['GIT_PATCH'] = "";
$config['GIT_USER'] = "";
$config['GIT_EMAIL'] = "";
/**
* 本工具依赖mysql PDO扩展,mysql帐号必须拥有该数据所有权限
* 该工具会有创建库、表、索引等系列操作
*/
$config['DB_HOST'] = '';
$config['DB_USER'] = '';
$config['DB_PWD'] = '';
$config['DB_PORT'] = '';
$config['DB_NAME'] = '';
$config['DB_CHARSET'] = '';
/**
* 生产环境对比配置
*/
$config['UPGRADE']['DB_HOST'] = '';
$config['UPGRADE']['DB_USER'] = '';
$config['UPGRADE']['DB_PWD'] = '';
$config['UPGRADE']['DB_PORT'] = '';
$config['UPGRADE']['DB_NAME'] = '';
$config['UPGRADE']['DB_CHARSET'] = '';
$config['UPGRADE']['SYNC_BIN'] = '';
/**
* 图标对应样式,系统配置
*/
$config['-'] = 'del';
$config['+'] = 'add';
$config['?'] = "clash";
$config['☷'] = "edit";
define("IS_WINDOWS", strpos(strtoupper(PHP_OS), "WIN") !==false);
return $config;