-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathmaccms.php
652 lines (641 loc) · 17.2 KB
/
maccms.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
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
<?php
return array (
'db' =>
array (
'type' => 'mysql',
'path' => '',
'server' => '127.0.0.1',
'port' => '3306',
'name' => 'maccms10',
'user' => 'root',
'pass' => 'root',
'tablepre' => 'mac_',
'backup_path' => './application/data/backup/database/',
'part_size' => 20971520,
'compress' => 1,
'compress_level' => 4,
),
'site' =>
array (
'site_name' => '免费短视频分享大全 - 大中国',
'site_url' => 'www.test.cn',
'site_wapurl' => 'wap.test.cn',
'site_keywords' => '短视频,搞笑视频,视频分享,免费视频,在线视频,预告片',
'site_description' => '提供最新最快的视频分享数据',
'site_icp' => 'icp123',
'site_qq' => '123456',
'site_email' => '[email protected]',
'install_dir' => '/',
'site_logo' => 'static/images/logo.jpg',
'site_waplogo' => 'static/images/logo.jpg',
'template_dir' => 'default',
'html_dir' => 'html',
'mob_status' => '0',
'mob_template_dir' => 'default',
'mob_html_dir' => 'html',
'site_tj' => '统计代码',
'site_status' => '1',
'site_close_tip' => '站点暂时关闭,请稍后访问',
'ads_dir' => 'ads',
'mob_ads_dir' => 'ads',
),
'app' =>
array (
'pathinfo_depr' => '/',
'suffix' => 'html',
'popedom_filter' => '0',
'cache_type' => 'file',
'cache_host' => '127.0.0.1',
'cache_port' => '6379',
'cache_username' => '',
'cache_password' => '',
'cache_flag' => 'a6bcf9aa58',
'cache_core' => '0',
'cache_time' => '3600',
'cache_page' => '0',
'cache_time_page' => '3600',
'compress' => '0',
'search' => '1',
'search_timespan' => '3',
'search_vod_rule' => 'vod_en|vod_sub',
'search_art_rule' => 'art_en|art_sub',
'copyright_status' => '1',
'copyright_notice' => '该视频由于版权限制,暂不提供播放。',
'browser_junmp' => '0',
'page_404' => '404',
'player_sort' => '1',
'encrypt' => '0',
'search_hot' => '变形金刚,火影忍者,复仇者联盟,战狼,红海行动',
'art_extend_class' => '段子手,私房话,八卦精,爱生活,汽车迷,科技咖,美食家,辣妈帮',
'vod_extend_class' => '爱情,动作,喜剧,战争,科幻,剧情,武侠,冒险,枪战,恐怖,微电影,其它',
'vod_extend_state' => '正片,预告片,花絮',
'vod_extend_version' => '高清版,剧场版,抢先版,OVA,TV,影院版',
'vod_extend_area' => '大陆,香港,台湾,美国,韩国,日本,泰国,新加坡,马来西亚,印度,英国,法国,加拿大,西班牙,俄罗斯,其它',
'vod_extend_lang' => '国语,英语,粤语,闽南语,韩语,日语,法语,德语,其它',
'vod_extend_year' => '2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000',
'vod_extend_weekday' => '一,二,三,四,五,六,日',
'actor_extend_area' => '大陆,香港,台湾,美国,韩国,日本,泰国,新加坡,马来西亚,印度,英国,法国,加拿大,西班牙,俄罗斯,其它',
'filter_words' => 'www,http,com,net',
'extra_var' => '',
'collect_timespan' => '3',
'pagesize' => '20',
'makesize' => '30',
'admin_login_verify' => '0',
'editor' => 'Ueditor',
'lang' => 'zh-cn',
'input_type' => '1',
),
'user' =>
array (
'status' => '1',
'reg_open' => '1',
'reg_status' => '1',
'reg_phone_sms' => '0',
'reg_email_sms' => '0',
'reg_verify' => '0',
'login_verify' => '0',
'reg_points' => '10',
'reg_num' => '1',
'invite_reg_points' => '10',
'invite_visit_points' => '1',
'invite_visit_num' => '1',
'reward_status' => '1',
'reward_ratio' => '10',
'reward_ratio_2' => '30',
'reward_ratio_3' => '50',
'cash_status' => '1',
'cash_ratio' => '100',
'cash_min' => '1',
'trysee' => '0',
'vod_points_type' => '1',
'art_points_type' => '1',
'portrait_status' => '1',
'portrait_size' => '100x100',
'filter_words' => 'admin,cao,sex,xxx',
),
'gbook' =>
array (
'status' => '1',
'audit' => '0',
'login' => '0',
'verify' => '1',
'pagesize' => '20',
'timespan' => '3',
),
'comment' =>
array (
'status' => '1',
'audit' => '0',
'login' => '0',
'verify' => '1',
'pagesize' => '20',
'timespan' => '3',
),
'upload' =>
array (
'img_key' => 'baidu|douban|tvmao',
'img_api' => '/img.php?url=',
'thumb' => '0',
'thumb_size' => '300x300',
'thumb_type' => '1',
'watermark' => '0',
'watermark_location' => '7',
'watermark_content' => 'test',
'watermark_size' => '40',
'watermark_color' => '#FF0000',
'protocol' => 'http',
'mode' => 'local',
'remoteurl' => 'http://img.test.com/',
'api' =>
array (
'ftp' =>
array (
'host' => '',
'port' => '21',
'user' => 'test',
'pwd' => 'test',
'path' => '/',
'url' => '',
),
'qiniu' =>
array (
'bucket' => '',
'accesskey' => '',
'secretkey' => '',
'url' => '',
),
'uomg' =>
array (
'openid' => '',
'key' => '',
'type' => 'sogou',
),
'upyun' =>
array (
'bucket' => '',
'username' => '',
'pwd' => '',
'url' => '',
),
'weibo' =>
array (
'user' => '',
'pwd' => '',
'size' => 'large',
'cookie' => '',
'time' => '1546239694',
),
),
),
'interface' =>
array (
'status' => 0,
'pass' => '2RK20D7UKAWWC5RV',
'vodtype' => '动作片=动作',
'arttype' => '头条=头条',
'actortype' => '',
'websitetype' => '',
),
'pay' =>
array (
'min' => '10',
'scale' => '1',
'card' =>
array (
'url' => '',
),
'alipay' =>
array (
'account' => '111',
'appid' => '',
'appkey' => '',
),
'codepay' =>
array (
'appid' => '40625',
'appkey' => '',
'type' => '1,2',
'act' => '0',
),
'weixin' =>
array (
'appid' => '222',
'mchid' => '',
'appkey' => '',
),
'zhapay' =>
array (
'appid' => '18039',
'appkey' => '',
'type' => '1,2',
'act' => '2',
),
),
'collect' =>
array (
'vod' =>
array (
'status' => '1',
'hits_start' => '1',
'hits_end' => '1000',
'updown_start' => '1',
'updown_end' => '1000',
'score' => '1',
'pic' => '0',
'tag' => '0',
'class_filter' => '1',
'psename' => '1',
'psernd' => '0',
'psesyn' => '0',
'urlrole' => '0',
'inrule' => ',f,g',
'uprule' => ',a',
'filter' => '色戒,色即是空',
'namewords' => '第1季=第一季#第2季=第二季#第3季=第三季#第4季=第四季',
'thesaurus' => ' =',
'words' => 'aaa#bbb#ccc#ddd#eee',
),
'art' =>
array (
'status' => '1',
'hits_start' => '1',
'hits_end' => '1000',
'updown_start' => '1',
'updown_end' => '1000',
'score' => '1',
'pic' => '0',
'tag' => '0',
'psernd' => '0',
'psesyn' => '0',
'inrule' => ',b',
'uprule' => ',a,d',
'filter' => '无奈的人',
'thesaurus' => '',
'words' => '',
),
'actor' =>
array (
'status' => '0',
'hits_start' => '1',
'hits_end' => '999',
'updown_start' => '1',
'updown_end' => '999',
'score' => '0',
'pic' => '0',
'psernd' => '0',
'psesyn' => '0',
'uprule' => ',a,b,c',
'filter' => '无奈的人',
'thesaurus' => '',
'words' => '',
'inrule' => ',a',
),
'role' =>
array (
'status' => '0',
'hits_start' => '1',
'hits_end' => '999',
'updown_start' => '1',
'updown_end' => '999',
'score' => '0',
'pic' => '0',
'psernd' => '0',
'psesyn' => '0',
'uprule' => ',a,b,c',
'filter' => '',
'thesaurus' => '',
'words' => '',
'inrule' => ',a',
),
'website' =>
array (
'status' => '0',
'hits_start' => '',
'hits_end' => '',
'updown_start' => '',
'updown_end' => '',
'score' => '0',
'pic' => '0',
'psernd' => '0',
'psesyn' => '0',
'filter' => '',
'thesaurus' => '',
'words' => '',
'inrule' => ',a',
'uprule' => ',',
),
'comment' =>
array (
'status' => '0',
'updown_start' => '1',
'updown_end' => '100',
'psernd' => '0',
'psesyn' => '0',
'inrule' => ',b',
'filter' => '',
'thesaurus' => '',
'words' => '',
'uprule' => ',',
),
),
'api' =>
array (
'vod' =>
array (
'status' => 0,
'charge' => '0',
'pagesize' => '20',
'imgurl' => 'http://img.test.com/',
'typefilter' => '',
'datafilter' => ' vod_status=1',
'cachetime' => '',
'from' => '',
'auth' => 'test.com#163.com',
),
'art' =>
array (
'status' => 0,
'charge' => '0',
'pagesize' => '20',
'imgurl' => '',
'typefilter' => '',
'datafilter' => 'art_status=1',
'cachetime' => '',
'auth' => '',
),
'actor' =>
array (
'status' => '0',
'charge' => '0',
'pagesize' => '20',
'imgurl' => '',
'typefilter' => '',
'datafilter' => 'actor_status=1',
'cachetime' => '',
'auth' => '',
),
'role' =>
array (
'status' => '0',
'charge' => '0',
'pagesize' => '20',
'imgurl' => '',
'typefilter' => '',
'datafilter' => 'role_status=1',
'cachetime' => '',
'auth' => '',
),
'website' =>
array (
'status' => '0',
'charge' => '0',
'pagesize' => '20',
'imgurl' => '',
'typefilter' => '',
'datafilter' => 'website_status=1',
'cachetime' => '',
'auth' => '',
),
),
'connect' =>
array (
'qq' =>
array (
'status' => '0',
'key' => 'aa',
'secret' => 'bb',
),
'weixin' =>
array (
'status' => '0',
'key' => 'cc',
'secret' => 'dd',
),
),
'weixin' =>
array (
'status' => '1',
'duijie' => 'wx.test.com',
'sousuo' => 'wx.test.com',
'token' => 'qweqwe',
'guanzhu' => '欢迎关注',
'wuziyuan' => '没找到资源,请更换关键词或等待更新',
'wuziyuanlink' => 'demo.test.com',
'bofang' => '0',
'msgtype' => '0',
'gjc1' => '关键词1',
'gjcm1' => '长城',
'gjci1' => 'http://img.aolusb.com/im/201610/2016101222371965996.jpg',
'gjcl1' => 'http://www.loldytt.com/Dongzuodianying/CC/',
'gjc2' => '关键词2',
'gjcm2' => '生化危机6',
'gjci2' => 'http://img.aolusb.com/im/201702/20172711214866248.jpg',
'gjcl2' => 'http://www.loldytt.com/Kehuandianying/SHWJ6ZZ/',
'gjc3' => '关键词3',
'gjcm3' => '湄公河行动',
'gjci3' => 'http://img.aolusb.com/im/201608/201681719561972362.jpg',
'gjcl3' => 'http://www.loldytt.com/Dongzuodianying/GHXD/',
'gjc4' => '关键词4',
'gjcm4' => '王牌逗王牌',
'gjci4' => 'http://img.aolusb.com/im/201601/201612723554344882.jpg',
'gjcl4' => 'http://www.loldytt.com/Xijudianying/WPDWP/',
),
'view' =>
array (
'index' => '0',
'map' => '0',
'search' => '0',
'rss' => '0',
'label' => '0',
'vod_type' => '0',
'vod_show' => '0',
'art_type' => '0',
'art_show' => '0',
'topic_index' => '0',
'topic_detail' => '0',
'vod_detail' => '0',
'vod_play' => '0',
'vod_down' => '0',
'art_detail' => '0',
),
'path' =>
array (
'topic_index' => 'topic/index',
'topic_detail' => 'topic/{id}/index',
'vod_type' => 'vodtypehtml/{id}/index',
'vod_detail' => 'vodhtml/{id}/index',
'vod_play' => 'vodplayhtml/{id}/index',
'vod_down' => 'voddownhtml/{id}/index',
'art_type' => 'arttypehtml/{id}/index',
'art_detail' => 'arthtml/{id}/index',
'page_sp' => '_',
'suffix' => 'html',
),
'rewrite' =>
array (
'suffix_hide' => '0',
'route_status' => '0',
'status' => '0',
'encode_key' => 'abcdefg',
'encode_len' => '6',
'vod_id' => '0',
'art_id' => '0',
'type_id' => '0',
'topic_id' => '0',
'actor_id' => '0',
'role_id' => '0',
'website_id' => '0',
'route' => 'map => map/index
rss/index => rss/index
rss/baidu => rss/baidu
rss/google => rss/google
rss/sogou => rss/sogou
rss/so => rss/so
rss/bing => rss/bing
rss/sm => rss/sm
index-<page?> => index/index
gbook-<page?> => gbook/index
gbook$ => gbook/index
topic-<page?> => topic/index
topic$ => topic/index
topicdetail-<id> => topic/detail
actor-<page?> => actor/index
actor$ => actor/index
actordetail-<id> => actor/detail
actorshow/<area?>-<blood?>-<by?>-<letter?>-<level?>-<order?>-<page?>-<sex?>-<starsign?> => actor/show
role-<page?> => role/index
role$ => role/index
roledetail-<id> => role/detail
roleshow/<by?>-<letter?>-<level?>-<order?>-<page?>-<rid?> => role/show
vodtype/<id>-<page?> => vod/type
vodtype/<id> => vod/type
voddetail/<id> => vod/detail
vodrss-<id> => vod/rss
vodplay/<id>-<sid>-<nid> => vod/play
voddown/<id>-<sid>-<nid> => vod/down
vodshow/<id>-<area?>-<by?>-<class?>-<lang?>-<letter?>-<level?>-<order?>-<page?>-<state?>-<tag?>-<year?> => vod/show
vodsearch/<wd?>-<actor?>-<area?>-<by?>-<class?>-<director?>-<lang?>-<letter?>-<level?>-<order?>-<page?>-<state?>-<tag?>-<year?> => vod/search
vodplot/<id>-<page?> => vod/plot
vodplot/<id> => vod/plot
arttype/<id>-<page?> => art/type
arttype/<id> => art/type
artshow-<id> => art/show
artdetail-<id>-<page?> => art/detail
artdetail-<id> => art/detail
artrss-<id>-<page> => art/rss
artshow/<id>-<by?>-<class?>-<level?>-<letter?>-<order?>-<page?>-<tag?> => art/show
artsearch/<wd?>-<by?>-<class?>-<level?>-<letter?>-<order?>-<page?>-<tag?> => art/search
label-<file> => label/index
plotdetail/<id>-<page?> => plot/plot
plotdetail/<id> => plot/detail',
),
'email' =>
array (
'type' => 'Phpmailer',
'time' => '5',
'nick' => 'test',
'test' => '[email protected]',
'tpl' =>
array (
'test_title' => '【{$maccms.site_name}】测试邮件标题',
'test_body' => '【{$maccms.site_name}】当您看到这封邮件说明邮件配置正确了!感谢支持开源程序!',
'user_reg_title' => '【{$maccms.site_name}】的会员您好,请认真阅读邮件正文并按要求操作完成注册',
'user_reg_body' => '【{$maccms.site_name}】的会员您好,注册验证码为:{$code},请在{$time}分钟内完成验证。',
'user_bind_title' => '【{$maccms.site_name}】的会员您好,请认真阅读邮件正文并按要求操作完成绑定',
'user_bind_body' => '【{$maccms.site_name}】的会员您好,绑定验证码为:{$code},请在{$time}分钟内完成验证。',
'user_findpass_title' => '【{$maccms.site_name}】的会员您好,请认真阅读邮件正文并按要求操作完成找回',
'user_findpass_body' => '【{$maccms.site_name}】的会员您好,找回验证码为:{$code},请在{$time}分钟内完成验证。',
),
'phpmailer' =>
array (
'host' => 'smtp.qq.com',
'port' => '587',
'secure' => 'tsl',
'username' => '[email protected]',
'password' => 'test',
),
),
'play' =>
array (
'width' => '100%',
'height' => '100%',
'widthmob' => '100%',
'heightmob' => '100%',
'widthpop' => '0',
'heightpop' => '600',
'second' => '5',
'prestrain' => '//union.maccms.la/html/prestrain.html',
'buffer' => '//union.maccms.la/html/buffer.html',
'parse' => '',
'autofull' => '0',
'showtop' => '1',
'showlist' => '1',
'flag' => '0',
'colors' => '000000,F6F6F6,F6F6F6,333333,666666,FFFFF,FF0000,2c2c2c,ffffff,a3a3a3,2c2c2c,adadad,adadad,48486c,fcfcfc',
),
'sms' =>
array (
'type' => '',
'sign' => '我的网站',
'tpl_code_reg' => 'SMS_144850895',
'tpl_code_bind' => 'SMS_144940283',
'tpl_code_findpass' => 'SMS_144851023',
'aliyun' =>
array (
'appid' => '',
'appkey' => '',
),
'qcloud' =>
array (
'appid' => '',
'appkey' => '',
),
),
'extra' =>
array (
),
'seo' =>
array (
'vod' =>
array (
'name' => '视频首页',
'key' => '短视频,搞笑视频,视频分享,免费视频,在线视频,预告片',
'des' => '提供最新最快的视频分享数据',
),
'art' =>
array (
'name' => '文章首页',
'key' => '新闻资讯,娱乐新闻,八卦娱乐,狗仔队,重大事件',
'des' => '提供最新最快的新闻资讯',
),
'actor' =>
array (
'name' => '演员首页',
'key' => '大陆明星,港台明星,日韩明星,欧美明星,最火明星',
'des' => '明星个人信息介绍',
),
'role' =>
array (
'name' => '角色首页',
'key' => '电影角色,电视剧角色,动漫角色,综艺角色',
'des' => '角色人物介绍',
),
'plot' =>
array (
'name' => '剧情首页',
'key' => '剧情连载,剧情更新,剧情前瞻,剧情完结',
'des' => '提供最新的剧情信息',
),
),
'urlsend' =>
array (
'baidu' =>
array (
'token' => '111',
),
'baidufast' =>
array (
'token' => '222',
),
),
);