Repository navigation
Expand file tree
/
Copy pathconfig.php
More file actions
59 lines (58 loc) · 3.11 KB
/
Copy pathconfig.php
File metadata and controls
59 lines (58 loc) · 3.11 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
<?php
header("constent-type:text/html;charset=utf-8");
/** 根目录地址 */
if(!defined('DIFF_ROOT_PATH')) define('DIFF_ROOT_PATH', str_replace('\\', '/', dirname(__FILE__)) . '/');
/** 定义和产品线相关的产出目录 */
//if(!defined('WENKU_PATH')) define('WENKU_PATH',DIFF_ROOT_PATH.'product_output/wenku/' );
if(!defined('BATMAN_PATH')) define('BATMAN_PATH',DIFF_ROOT_PATH.'product_output/batman/' );
if(!defined('PLACE_PATH')) define('PLACE_PATH',DIFF_ROOT_PATH.'product_output/place/' );
//if(!defined('TIEBA_PATH')) define('TIEBA_PATH',DIFF_ROOT_PATH.'product_output/tieba/' );
if(!defined('HAO123_PATH')) define('HAO123_PATH',DIFF_ROOT_PATH.'product_output/hao123/' );
if(!defined('SUPERMAN_PATH')) define('SUPERMAN_PATH',DIFF_ROOT_PATH.'product_output/superman/' );
$config = array(
'product'=>array( //产品线目录
// 'wenku'=>array(
// 'name'=>'wenku',
// 'newoutputdir' => WENKU_PATH.'output_new', //使用新版本编译后的产出
// 'oldoutputdir' => WENKU_PATH.'output_old', //使用旧版本编译后的产出
// "modules" =>"bookeditor", //待编译的模块
// 'result' => WENKU_PATH.'result/'
// ),
// 'batman'=>array(
// 'name'=>'batman',
// 'newoutputdir' => BATMAN_PATH.'output_new', //使用新版本编译后的产出
// 'oldoutputdir' => BATMAN_PATH.'output_old', //使用旧版本编译后的产出
// "modules" =>"transit,place,common,index,addr,feedback,drive,walk" //待编译的模块
// ),
// 'tieba'=>array(
// 'name'=>'tieba',
// 'newoutputdir' => TIEBA_PATH.'output_new', //使用新版本编译后的产出
// 'oldoutputdir' => TIEBA_PATH.'output_old', //使用旧版本编译后的产出
// "modules" =>"xpb", //待编译的模块
// 'result' => TIEBA_PATH.'result/'
// ),
// 'place'=>array(
// 'name'=>'place',
// 'newoutputdir' => PLACE_PATH.'output_new', //使用新版本编译后的产出
// 'oldoutputdir' => PLACE_PATH.'output_old', //使用旧版本编译后的产出
// "modules" =>"admin,beauty,cater,common,detail,hotel,movie,scope" //待编译的模块
// ),
'hao123'=>array(
'name'=>'hao123',
'newoutputdir' => HAO123_PATH.'output_new', //使用新版本编译后的产出
'oldoutputdir' => HAO123_PATH.'output_old', //使用旧版本编译后的产出
"modules" =>"common,home,lv2" //待编译的模块
)
// 'superman'=>array(
// 'name'=>'superman',
// 'newoutputdir' => SUPERMAN_PATH.'output_new', //使用新版本编译后的产出
// 'oldoutputdir' => SUPERMAN_PATH.'output_old', //使用旧版本编译后的产出
// "modules" =>"transit,place,common,index,addr,feedback,drive,walk,third,taxi,user" //待编译的模块
// )
),
'smarty' => array(
'dir' => DIFF_ROOT_PATH.'./libs/smarty-3.1.5',
'templatedir' =>DIFF_ROOT_PATH. 'result/'
),
'url' =>"http://10.48.30.87:8088/"
);