forked from muruoxi2018/Check_Font_Copyright
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconf.php
More file actions
80 lines (78 loc) · 2.2 KB
/
conf.php
File metadata and controls
80 lines (78 loc) · 2.2 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php
/*
* Copyright (C) www.muruoxi.com
*/
return array(
'db' => array(
'type' => 'pdo_sqlite',
'mysql' => array(
'master' => array(
'host' => 'localhost',
'user' => 'root',
'password' => 'root',
'name' => 'fonts',
'tablepre' => 'mrx_',
'charset' => 'utf8',
'engine' => 'innodb',
),
'slaves' => array(),
),
'pdo_mysql' => array(
'master' => array(
'host' => 'localhost',
'user' => 'root',
'password' => 'root',
'name' => 'fonts',
'tablepre' => 'mrx_',
'charset' => 'utf8',
'engine' => 'innodb',
),
'slaves' => array(),
),
'pdo_sqlite' => array(
'master' => array(
'host' => 'fonts.sqlite3',
'user' => 'muruoxi',
'password' => 'muruoxi',
'name' => 'fonts',
'tablepre' => 'mrx_',
'charset' => 'utf8',
'engine' => 'innodb',
),
'slaves' => array(),
)
),
'cache' => array(
'enable' => false,
'type' => 'mysql',
'memcached' => array(
'host' => 'localhost',
'port' => '11211',
'cachepre' => 'mrx_',
),
'redis' => array(
'host' => 'localhost',
'port' => '6379',
'cachepre' => 'mrx_',
),
'xcache' => array(
'cachepre' => 'mrx_',
),
'yac' => array(
'cachepre' => 'mrx_',
),
'apc' => array(
'cachepre' => 'mrx_',
),
'mysql' => array(
'cachepre' => 'mrx_',
),
),
'tmp_path' => './tmp/', // 可以配置为 linux 下的 /dev/shm ,通过内存缓存临时文件
'log_path' => './log/', // 日志目录
'upload_path' => './upload/', // 物理路径
'version' => '1.0.0.1',
'timezone' => 'Asia/Shanghai',
'sitename' => '查字体',
'downurl'=>'http://localhost/upload/'
);