-
Notifications
You must be signed in to change notification settings - Fork 5
/
install.php
45 lines (42 loc) · 1.15 KB
/
install.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
<?php
!defined('DEBUG') AND exit('Forbidden');
$tablepre = $db->tablepre;
db_exec("ALTER TABLE {$tablepre}post ADD `message_cache` longtext NOT NULL;");
$editor_md_config = array(
"parsedown_version"=>"1.7.1",
"img_upload"=>"true",
"width"=>"100%",
"height"=>640,
"img_upload_formats"=>"'jpg','png','bmp','jpeg','gif','webp'",
"html_decode"=>"false",
"html_decode_fliter"=>"",
"sync_scrolling"=>2,
"custom_toolbar"=>"",
"custom_toolbar_onoff"=>"false",
"autoheight"=>"false",
"readonly"=>"false",
"theme_onoff"=>"false",
"theme"=>"",
"theme_editor"=>"",
"theme_preview"=>"",
"codefold"=>"false",
"tasklist"=>"false",
"atLink"=>"false",
"emailLink"=>"false",
"tex"=>"false",
"flowChart"=>"false",
"sequenceDiagram"=>"false",
"pageBreak"=>"false",
"img_upload_service"=>"local",
"cross_domain_upload"=>"false",
"upload_callback_url"=>"",
"qiniu_bucket"=>"",
"qiniu_accessKey"=>"",
"qiniu_secretKey"=>"",
"qiniu_class_type"=>"",
"qiniu_cdnurl"=>"",
"qiniu_mimetype"=>"",
'edit_info'=>0
);
kv_set("editor_md_config", $editor_md_config);
?>