Completed
Push — stable13 ( f2f723...995b4d )
by Morris
31:26 queued 11:14
created
config/config.sample.php 1 patch
Indentation   +102 added lines, -102 removed lines patch added patch discarded remove patch
@@ -41,17 +41,17 @@  discard block
 block discarded – undo
41 41
  */
42 42
 'instanceid' => '',
43 43
 
44
- /**
45
-  * The salt used to hash all passwords, auto-generated by the Nextcloud
46
-  * installer. (There are also per-user salts.) If you lose this salt you lose
47
-  * all your passwords. This example is for documentation only, and you should
48
-  * never use it.
49
-  *
50
-  * @deprecated This salt is deprecated and only used for legacy-compatibility,
51
-  * developers should *NOT* use this value for anything nowadays.
52
-  *
53
-  * 'passwordsalt' => 'd3c944a9af095aa08f',
54
- */
44
+    /**
45
+     * The salt used to hash all passwords, auto-generated by the Nextcloud
46
+     * installer. (There are also per-user salts.) If you lose this salt you lose
47
+     * all your passwords. This example is for documentation only, and you should
48
+     * never use it.
49
+     *
50
+     * @deprecated This salt is deprecated and only used for legacy-compatibility,
51
+     * developers should *NOT* use this value for anything nowadays.
52
+     *
53
+     * 'passwordsalt' => 'd3c944a9af095aa08f',
54
+     */
55 55
 'passwordsalt' => '',
56 56
 
57 57
 /**
@@ -67,10 +67,10 @@  discard block
 block discarded – undo
67 67
  *   ubos-raspberry-pi.local and ubos-raspberry-pi-2.local
68 68
  */
69 69
 'trusted_domains' =>
70
-  array (
70
+    array (
71 71
     'demo.example.org',
72 72
     'otherdomain.example.org',
73
-  ),
73
+    ),
74 74
 
75 75
 
76 76
 /**
@@ -260,10 +260,10 @@  discard block
 block discarded – undo
260 260
  * IMAP (OC_User_IMAP), SMB (OC_User_SMB), and FTP (OC_User_FTP).
261 261
  */
262 262
 'user_backends' => array(
263
-	array(
264
-		'class' => 'OC_User_IMAP',
265
-		'arguments' => array('{imap.gmail.com:993/imap/ssl}INBOX')
266
-	)
263
+    array(
264
+        'class' => 'OC_User_IMAP',
265
+        'arguments' => array('{imap.gmail.com:993/imap/ssl}INBOX')
266
+    )
267 267
 ),
268 268
 
269 269
 /**
@@ -736,9 +736,9 @@  discard block
 block discarded – undo
736 736
  * Defaults to an empty array.
737 737
  */
738 738
 'log.condition' => [
739
-	'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',
740
-	'users' => ['sample-user'],
741
-	'apps' => ['files'],
739
+    'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',
740
+    'users' => ['sample-user'],
741
+    'apps' => ['files'],
742 742
 ],
743 743
 
744 744
 /**
@@ -791,11 +791,11 @@  discard block
 block discarded – undo
791 791
  *  - iOS client: ``https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8``
792 792
  */
793 793
 'customclient_desktop' =>
794
-	'https://nextcloud.com/install/#install-clients',
794
+    'https://nextcloud.com/install/#install-clients',
795 795
 'customclient_android' =>
796
-	'https://play.google.com/store/apps/details?id=com.nextcloud.client',
796
+    'https://play.google.com/store/apps/details?id=com.nextcloud.client',
797 797
 'customclient_ios' =>
798
-	'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8',
798
+    'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8',
799 799
 
800 800
 /**
801 801
  * Apps
@@ -819,11 +819,11 @@  discard block
 block discarded – undo
819 819
  * indicates if a Web server can write files to that folder.
820 820
  */
821 821
 'apps_paths' => array(
822
-	array(
823
-		'path'=> '/var/www/nextcloud/apps',
824
-		'url' => '/apps',
825
-		'writable' => true,
826
-	),
822
+    array(
823
+        'path'=> '/var/www/nextcloud/apps',
824
+        'url' => '/apps',
825
+        'writable' => true,
826
+    ),
827 827
 ),
828 828
 
829 829
 /**
@@ -888,8 +888,8 @@  discard block
 block discarded – undo
888 888
  * Defaults to ``''`` (empty string)
889 889
  */
890 890
 'preview_office_cl_parameters' =>
891
-	' --headless --nologo --nofirststartwizard --invisible --norestore '.
892
-	'--convert-to pdf --outdir ',
891
+    ' --headless --nologo --nofirststartwizard --invisible --norestore '.
892
+    '--convert-to pdf --outdir ',
893 893
 
894 894
 /**
895 895
  * Only register providers that have been explicitly enabled
@@ -932,14 +932,14 @@  discard block
 block discarded – undo
932 932
  *  - OC\Preview\XBitmap
933 933
  */
934 934
 'enabledPreviewProviders' => array(
935
-	'OC\Preview\PNG',
936
-	'OC\Preview\JPEG',
937
-	'OC\Preview\GIF',
938
-	'OC\Preview\BMP',
939
-	'OC\Preview\XBitmap',
940
-	'OC\Preview\MP3',
941
-	'OC\Preview\TXT',
942
-	'OC\Preview\MarkDown'
935
+    'OC\Preview\PNG',
936
+    'OC\Preview\JPEG',
937
+    'OC\Preview\GIF',
938
+    'OC\Preview\BMP',
939
+    'OC\Preview\XBitmap',
940
+    'OC\Preview\MP3',
941
+    'OC\Preview\TXT',
942
+    'OC\Preview\MarkDown'
943 943
 ),
944 944
 
945 945
 /**
@@ -1015,11 +1015,11 @@  discard block
 block discarded – undo
1015 1015
 
1016 1016
 /**
1017 1017
  * Extra SSL options to be used for configuration.
1018
-  *
1018
+ *
1019 1019
  * Defaults to an empty array.
1020 1020
  */
1021 1021
 'openssl' => array(
1022
-	'config' => '/absolute/location/of/openssl.cnf',
1022
+    'config' => '/absolute/location/of/openssl.cnf',
1023 1023
 ),
1024 1024
 
1025 1025
 /**
@@ -1068,11 +1068,11 @@  discard block
 block discarded – undo
1068 1068
  * for more information.
1069 1069
  */
1070 1070
 'redis' => [
1071
-	'host' => 'localhost', // can also be a unix domain socket: '/tmp/redis.sock'
1072
-	'port' => 6379,
1073
-	'timeout' => 0.0,
1074
-	'password' => '', // Optional, if not defined no password will be used.
1075
-	'dbindex' => 0, // Optional, if undefined SELECT will not run and will use Redis Server's default DB Index.
1071
+    'host' => 'localhost', // can also be a unix domain socket: '/tmp/redis.sock'
1072
+    'port' => 6379,
1073
+    'timeout' => 0.0,
1074
+    'password' => '', // Optional, if not defined no password will be used.
1075
+    'dbindex' => 0, // Optional, if undefined SELECT will not run and will use Redis Server's default DB Index.
1076 1076
 ],
1077 1077
 
1078 1078
 /**
@@ -1098,13 +1098,13 @@  discard block
 block discarded – undo
1098 1098
  * See https://redis.io/topics/cluster-spec for details about the Redis cluster
1099 1099
  */
1100 1100
 'redis.cluster' => [
1101
-	'seeds' => [ // provide some/all of the cluster servers to bootstrap discovery, port required
1102
-		'localhost:7000',
1103
-		'localhost:7001'
1104
-	],
1105
-	'timeout' => 0.0,
1106
-	'read_timeout' => 0.0,
1107
-	'failover_mode' => \RedisCluster::FAILOVER_ERROR
1101
+    'seeds' => [ // provide some/all of the cluster servers to bootstrap discovery, port required
1102
+        'localhost:7000',
1103
+        'localhost:7001'
1104
+    ],
1105
+    'timeout' => 0.0,
1106
+    'read_timeout' => 0.0,
1107
+    'failover_mode' => \RedisCluster::FAILOVER_ERROR
1108 1108
 ],
1109 1109
 
1110 1110
 
@@ -1112,35 +1112,35 @@  discard block
 block discarded – undo
1112 1112
  * Server details for one or more memcached servers to use for memory caching.
1113 1113
  */
1114 1114
 'memcached_servers' => array(
1115
-	// hostname, port and optional weight. Also see:
1116
-	// http://www.php.net/manual/en/memcached.addservers.php
1117
-	// http://www.php.net/manual/en/memcached.addserver.php
1118
-	array('localhost', 11211),
1119
-	//array('other.host.local', 11211),
1115
+    // hostname, port and optional weight. Also see:
1116
+    // http://www.php.net/manual/en/memcached.addservers.php
1117
+    // http://www.php.net/manual/en/memcached.addserver.php
1118
+    array('localhost', 11211),
1119
+    //array('other.host.local', 11211),
1120 1120
 ),
1121 1121
 
1122 1122
 /**
1123 1123
  * Connection options for memcached, see http://apprize.info/php/scaling/15.html
1124 1124
  */
1125 1125
 'memcached_options' => array(
1126
-	// Set timeouts to 50ms
1127
-	\Memcached::OPT_CONNECT_TIMEOUT => 50,
1128
-	\Memcached::OPT_RETRY_TIMEOUT =>   50,
1129
-	\Memcached::OPT_SEND_TIMEOUT =>    50,
1130
-	\Memcached::OPT_RECV_TIMEOUT =>    50,
1131
-	\Memcached::OPT_POLL_TIMEOUT =>    50,
1126
+    // Set timeouts to 50ms
1127
+    \Memcached::OPT_CONNECT_TIMEOUT => 50,
1128
+    \Memcached::OPT_RETRY_TIMEOUT =>   50,
1129
+    \Memcached::OPT_SEND_TIMEOUT =>    50,
1130
+    \Memcached::OPT_RECV_TIMEOUT =>    50,
1131
+    \Memcached::OPT_POLL_TIMEOUT =>    50,
1132 1132
 
1133
-	// Enable compression
1134
-	\Memcached::OPT_COMPRESSION =>          true,
1133
+    // Enable compression
1134
+    \Memcached::OPT_COMPRESSION =>          true,
1135 1135
 
1136
-	// Turn on consistent hashing
1137
-	\Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
1136
+    // Turn on consistent hashing
1137
+    \Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
1138 1138
 
1139
-	// Enable Binary Protocol
1140
-	\Memcached::OPT_BINARY_PROTOCOL =>      true,
1139
+    // Enable Binary Protocol
1140
+    \Memcached::OPT_BINARY_PROTOCOL =>      true,
1141 1141
 
1142
-	// Binary serializer vill be enabled if the igbinary PECL module is available
1143
-	//\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY,
1142
+    // Binary serializer vill be enabled if the igbinary PECL module is available
1143
+    //\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY,
1144 1144
 ),
1145 1145
 
1146 1146
 
@@ -1186,31 +1186,31 @@  discard block
 block discarded – undo
1186 1186
  * One way to test is applying for a trystack account at http://trystack.org/
1187 1187
  */
1188 1188
 'objectstore' => [
1189
-	'class' => 'OC\\Files\\ObjectStore\\Swift',
1190
-	'arguments' => [
1191
-		// trystack will use your facebook id as the user name
1192
-		'username' => 'facebook100000123456789',
1193
-		// in the trystack dashboard go to user -> settings -> API Password to
1194
-		// generate a password
1195
-		'password' => 'Secr3tPaSSWoRdt7',
1196
-		// must already exist in the objectstore, name can be different
1197
-		'container' => 'nextcloud',
1198
-		// prefix to prepend to the fileid, default is 'oid:urn:'
1199
-		'objectPrefix' => 'oid:urn:',
1200
-		// create the container if it does not exist. default is false
1201
-		'autocreate' => true,
1202
-		// required, dev-/trystack defaults to 'RegionOne'
1203
-		'region' => 'RegionOne',
1204
-		// The Identity / Keystone endpoint
1205
-		'url' => 'http://8.21.28.222:5000/v2.0',
1206
-		// required on dev-/trystack
1207
-		'tenantName' => 'facebook100000123456789',
1208
-		// dev-/trystack uses swift by default, the lib defaults to 'cloudFiles'
1209
-		// if omitted
1210
-		'serviceName' => 'swift',
1211
-		// The Interface / url Type, optional
1212
-		'urlType' => 'internal'
1213
-	],
1189
+    'class' => 'OC\\Files\\ObjectStore\\Swift',
1190
+    'arguments' => [
1191
+        // trystack will use your facebook id as the user name
1192
+        'username' => 'facebook100000123456789',
1193
+        // in the trystack dashboard go to user -> settings -> API Password to
1194
+        // generate a password
1195
+        'password' => 'Secr3tPaSSWoRdt7',
1196
+        // must already exist in the objectstore, name can be different
1197
+        'container' => 'nextcloud',
1198
+        // prefix to prepend to the fileid, default is 'oid:urn:'
1199
+        'objectPrefix' => 'oid:urn:',
1200
+        // create the container if it does not exist. default is false
1201
+        'autocreate' => true,
1202
+        // required, dev-/trystack defaults to 'RegionOne'
1203
+        'region' => 'RegionOne',
1204
+        // The Identity / Keystone endpoint
1205
+        'url' => 'http://8.21.28.222:5000/v2.0',
1206
+        // required on dev-/trystack
1207
+        'tenantName' => 'facebook100000123456789',
1208
+        // dev-/trystack uses swift by default, the lib defaults to 'cloudFiles'
1209
+        // if omitted
1210
+        'serviceName' => 'swift',
1211
+        // The Interface / url Type, optional
1212
+        'urlType' => 'internal'
1213
+    ],
1214 1214
 ],
1215 1215
 
1216 1216
 
@@ -1250,8 +1250,8 @@  discard block
 block discarded – undo
1250 1250
  * encryption in MySQL or specify a custom wait timeout on a cheap hoster.
1251 1251
  */
1252 1252
 'dbdriveroptions' => array(
1253
-	PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
1254
-	PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800'
1253
+    PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
1254
+    PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800'
1255 1255
 ),
1256 1256
 
1257 1257
 /**
@@ -1308,10 +1308,10 @@  discard block
 block discarded – undo
1308 1308
  *  - pgsql (PostgreSQL)
1309 1309
  */
1310 1310
 'supportedDatabases' => array(
1311
-	'sqlite',
1312
-	'mysql',
1313
-	'pgsql',
1314
-	'oci',
1311
+    'sqlite',
1312
+    'mysql',
1313
+    'pgsql',
1314
+    'oci',
1315 1315
 ),
1316 1316
 
1317 1317
 /**
Please login to merge, or discard this patch.