config.file.inc.php
2.08 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
<?php
/*---------------------------------------------------------------------------------------------
文件远程发布目录更新配置(config.file.inc.php)
说明:本文件主要用于系统后台[生成]-[自动任务]-[远程服务器同步]
中的文件夹自定义更新配置所用,使用时候如果有特定目录需要进行同
步,则需要在这个文件中进行配置,配置方式如下:
$remotefile[] = array(
'filedir' => '/yourdir', //同步文件夹目录
'description' => '这里是文件夹说明',
'dfserv' => '0', //默认服务器选项,可以在系统后台[系统设置]-[服务器分布/远程 ]中配置
'state' => '0', //同步状态,0:未同步 1:已同步
);
-----------------------------------------------------------------------------------------------*/
global $remotefile;
$remotefile = array();
//以下是必备同步配置项
//@start_config 不要改动下面<>结构
#<s_config>
$remotefile[0] = array(
'filedir'=>'/a',
'description'=>'文档HTML默认保存路',
'dfserv'=>0,
'state'=>1,
'issystem'=>1
);
$remotefile[1] = array(
'filedir'=>'/longhoo',
'description'=>'文档HTML默认保存路',
'dfserv'=>0,
'state'=>1,
'issystem'=>1
);
$remotefile[2] = array(
'filedir'=>'/uploads',
'description'=>'图片/上传文件默认路径',
'dfserv'=>0,
'state'=>1,
'issystem'=>1
);
$remotefile[3] = array(
'filedir'=>'/special',
'description'=>'专题目录',
'dfserv'=>0,
'state'=>1,
'issystem'=>1
);
$remotefile[4] = array(
'filedir'=>'/data/js',
'description'=>'生成js目录',
'dfserv'=>0,
'state'=>1,
'issystem'=>1
);
$remotefile[5] = array(
'filedir'=>'/images',
'description'=>'图片素材存放文件',
'dfserv'=>0,
'state'=>1,
'issystem'=>0
);
$remotefile[6] = array(
'filedir'=>'/templets/images',
'description'=>'模板文件图片存放目录',
'dfserv'=>0,
'state'=>1,
'issystem'=>0
);
$remotefile[7] = array(
'filedir'=>'/templets/style',
'description'=>'模板文件CSS样式存放目录',
'dfserv'=>0,
'state'=>1,
'issystem'=>0
);
#<e_config>
?>