-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.inc.php.dist
55 lines (48 loc) · 1.38 KB
/
config.inc.php.dist
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
<?php
use Jfcherng\Roundcube\Plugin\CloudView\Helper\PluginConst;
/**
* This file is mean to specify all default settings.
*
* To use your customized config, you should copied this file into
* "config.inc.php" and modify config in it.
*/
$config = [];
/**
* You may want to set this if your Roundcube is set under a subdirectory or behind a reverse proxy.
* Here's a subdirectory example: https://example.com/roundcube/
*
* @type string
*/
$config['custom_site_url'] = '';
/**
* The default viewer order if the user has not set one.
*
* @type string
*
* @values PluginConst::VIEWER_GOOGLE_DOCS
* @values PluginConst::VIEWER_MICROSOFT_OFFICE_WEB
*
* For more values, see "Helper/PluginConst.php"
*/
$config['viewer_order'] = implode(',', [
PluginConst::VIEWER_MICROSOFT_OFFICE_WEB,
PluginConst::VIEWER_GOOGLE_DOCS,
]);
/**
* The default view button layouts if the user has not set one.
*
* @type int[]
*
* @values PluginConst::VIEW_BUTTON_IN_ATTACHMENTSLIST
* @values PluginConst::VIEW_BUTTON_IN_ATTACHMENTOPTIONSMENU
*
* For more values, see "Helper/PluginConst.php"
*/
$config['view_button_layouts'] = [
PluginConst::VIEW_BUTTON_IN_ATTACHMENTSLIST,
];
////////////////////////////////////
// for localhost dev test purpose //
////////////////////////////////////
$config['is_dev_mode'] = false;
$config['dev_mode_file_base_url'] = 'https://4272fd88.ngrok.io/';