Completed
Push — master ( 7a5768...45cf2c )
by Morris
46:52 queued 26:42
created
config/config.sample.php 1 patch
Indentation   +133 added lines, -133 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
 /**
@@ -283,10 +283,10 @@  discard block
 block discarded – undo
283 283
  * IMAP (OC_User_IMAP), SMB (OC_User_SMB), and FTP (OC_User_FTP).
284 284
  */
285 285
 'user_backends' => array(
286
-	array(
287
-		'class' => 'OC_User_IMAP',
288
-		'arguments' => array('{imap.gmail.com:993/imap/ssl}INBOX')
289
-	)
286
+    array(
287
+        'class' => 'OC_User_IMAP',
288
+        'arguments' => array('{imap.gmail.com:993/imap/ssl}INBOX')
289
+    )
290 290
 ),
291 291
 
292 292
 /**
@@ -762,9 +762,9 @@  discard block
 block discarded – undo
762 762
  * Defaults to an empty array.
763 763
  */
764 764
 'log.condition' => [
765
-	'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',
766
-	'users' => ['sample-user'],
767
-	'apps' => ['files'],
765
+    'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',
766
+    'users' => ['sample-user'],
767
+    'apps' => ['files'],
768 768
 ],
769 769
 
770 770
 /**
@@ -818,18 +818,18 @@  discard block
 block discarded – undo
818 818
  *  *iOS client app id: ``1125420102``
819 819
  */
820 820
 'customclient_desktop' =>
821
-	'https://nextcloud.com/install/#install-clients',
821
+    'https://nextcloud.com/install/#install-clients',
822 822
 'customclient_android' =>
823
-	'https://play.google.com/store/apps/details?id=com.nextcloud.client',
823
+    'https://play.google.com/store/apps/details?id=com.nextcloud.client',
824 824
 'customclient_ios' =>
825
-	'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8',
825
+    'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8',
826 826
 'customclient_ios_appid' =>
827
-		'1125420102',
827
+        '1125420102',
828 828
 /**
829
- * Apps
830
- *
831
- * Options for the Apps folder, Apps store, and App code checker.
832
- */
829
+         * Apps
830
+         *
831
+         * Options for the Apps folder, Apps store, and App code checker.
832
+         */
833 833
 
834 834
 /**
835 835
  * When enabled, admins may install apps from the Nextcloud app store.
@@ -847,11 +847,11 @@  discard block
 block discarded – undo
847 847
  * indicates if a Web server can write files to that folder.
848 848
  */
849 849
 'apps_paths' => array(
850
-	array(
851
-		'path'=> '/var/www/nextcloud/apps',
852
-		'url' => '/apps',
853
-		'writable' => true,
854
-	),
850
+    array(
851
+        'path'=> '/var/www/nextcloud/apps',
852
+        'url' => '/apps',
853
+        'writable' => true,
854
+    ),
855 855
 ),
856 856
 
857 857
 /**
@@ -916,8 +916,8 @@  discard block
 block discarded – undo
916 916
  * Defaults to ``''`` (empty string)
917 917
  */
918 918
 'preview_office_cl_parameters' =>
919
-	' --headless --nologo --nofirststartwizard --invisible --norestore '.
920
-	'--convert-to png --outdir ',
919
+    ' --headless --nologo --nofirststartwizard --invisible --norestore '.
920
+    '--convert-to png --outdir ',
921 921
 
922 922
 /**
923 923
  * Only register providers that have been explicitly enabled
@@ -960,14 +960,14 @@  discard block
 block discarded – undo
960 960
  *  - OC\Preview\XBitmap
961 961
  */
962 962
 'enabledPreviewProviders' => array(
963
-	'OC\Preview\PNG',
964
-	'OC\Preview\JPEG',
965
-	'OC\Preview\GIF',
966
-	'OC\Preview\BMP',
967
-	'OC\Preview\XBitmap',
968
-	'OC\Preview\MP3',
969
-	'OC\Preview\TXT',
970
-	'OC\Preview\MarkDown'
963
+    'OC\Preview\PNG',
964
+    'OC\Preview\JPEG',
965
+    'OC\Preview\GIF',
966
+    'OC\Preview\BMP',
967
+    'OC\Preview\XBitmap',
968
+    'OC\Preview\MP3',
969
+    'OC\Preview\TXT',
970
+    'OC\Preview\MarkDown'
971 971
 ),
972 972
 
973 973
 /**
@@ -1043,11 +1043,11 @@  discard block
 block discarded – undo
1043 1043
 
1044 1044
 /**
1045 1045
  * Extra SSL options to be used for configuration.
1046
-  *
1046
+ *
1047 1047
  * Defaults to an empty array.
1048 1048
  */
1049 1049
 'openssl' => array(
1050
-	'config' => '/absolute/location/of/openssl.cnf',
1050
+    'config' => '/absolute/location/of/openssl.cnf',
1051 1051
 ),
1052 1052
 
1053 1053
 /**
@@ -1096,11 +1096,11 @@  discard block
 block discarded – undo
1096 1096
  * for more information.
1097 1097
  */
1098 1098
 'redis' => [
1099
-	'host' => 'localhost', // can also be a unix domain socket: '/tmp/redis.sock'
1100
-	'port' => 6379,
1101
-	'timeout' => 0.0,
1102
-	'password' => '', // Optional, if not defined no password will be used.
1103
-	'dbindex' => 0, // Optional, if undefined SELECT will not run and will use Redis Server's default DB Index.
1099
+    'host' => 'localhost', // can also be a unix domain socket: '/tmp/redis.sock'
1100
+    'port' => 6379,
1101
+    'timeout' => 0.0,
1102
+    'password' => '', // Optional, if not defined no password will be used.
1103
+    'dbindex' => 0, // Optional, if undefined SELECT will not run and will use Redis Server's default DB Index.
1104 1104
 ],
1105 1105
 
1106 1106
 /**
@@ -1126,13 +1126,13 @@  discard block
 block discarded – undo
1126 1126
  * See https://redis.io/topics/cluster-spec for details about the Redis cluster
1127 1127
  */
1128 1128
 'redis.cluster' => [
1129
-	'seeds' => [ // provide some/all of the cluster servers to bootstrap discovery, port required
1130
-		'localhost:7000',
1131
-		'localhost:7001'
1132
-	],
1133
-	'timeout' => 0.0,
1134
-	'read_timeout' => 0.0,
1135
-	'failover_mode' => \RedisCluster::FAILOVER_ERROR
1129
+    'seeds' => [ // provide some/all of the cluster servers to bootstrap discovery, port required
1130
+        'localhost:7000',
1131
+        'localhost:7001'
1132
+    ],
1133
+    'timeout' => 0.0,
1134
+    'read_timeout' => 0.0,
1135
+    'failover_mode' => \RedisCluster::FAILOVER_ERROR
1136 1136
 ],
1137 1137
 
1138 1138
 
@@ -1140,35 +1140,35 @@  discard block
 block discarded – undo
1140 1140
  * Server details for one or more memcached servers to use for memory caching.
1141 1141
  */
1142 1142
 'memcached_servers' => array(
1143
-	// hostname, port and optional weight. Also see:
1144
-	// http://www.php.net/manual/en/memcached.addservers.php
1145
-	// http://www.php.net/manual/en/memcached.addserver.php
1146
-	array('localhost', 11211),
1147
-	//array('other.host.local', 11211),
1143
+    // hostname, port and optional weight. Also see:
1144
+    // http://www.php.net/manual/en/memcached.addservers.php
1145
+    // http://www.php.net/manual/en/memcached.addserver.php
1146
+    array('localhost', 11211),
1147
+    //array('other.host.local', 11211),
1148 1148
 ),
1149 1149
 
1150 1150
 /**
1151 1151
  * Connection options for memcached, see http://apprize.info/php/scaling/15.html
1152 1152
  */
1153 1153
 'memcached_options' => array(
1154
-	// Set timeouts to 50ms
1155
-	\Memcached::OPT_CONNECT_TIMEOUT => 50,
1156
-	\Memcached::OPT_RETRY_TIMEOUT =>   50,
1157
-	\Memcached::OPT_SEND_TIMEOUT =>    50,
1158
-	\Memcached::OPT_RECV_TIMEOUT =>    50,
1159
-	\Memcached::OPT_POLL_TIMEOUT =>    50,
1154
+    // Set timeouts to 50ms
1155
+    \Memcached::OPT_CONNECT_TIMEOUT => 50,
1156
+    \Memcached::OPT_RETRY_TIMEOUT =>   50,
1157
+    \Memcached::OPT_SEND_TIMEOUT =>    50,
1158
+    \Memcached::OPT_RECV_TIMEOUT =>    50,
1159
+    \Memcached::OPT_POLL_TIMEOUT =>    50,
1160 1160
 
1161
-	// Enable compression
1162
-	\Memcached::OPT_COMPRESSION =>          true,
1161
+    // Enable compression
1162
+    \Memcached::OPT_COMPRESSION =>          true,
1163 1163
 
1164
-	// Turn on consistent hashing
1165
-	\Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
1164
+    // Turn on consistent hashing
1165
+    \Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
1166 1166
 
1167
-	// Enable Binary Protocol
1168
-	\Memcached::OPT_BINARY_PROTOCOL =>      true,
1167
+    // Enable Binary Protocol
1168
+    \Memcached::OPT_BINARY_PROTOCOL =>      true,
1169 1169
 
1170
-	// Binary serializer vill be enabled if the igbinary PECL module is available
1171
-	//\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY,
1170
+    // Binary serializer vill be enabled if the igbinary PECL module is available
1171
+    //\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY,
1172 1172
 ),
1173 1173
 
1174 1174
 
@@ -1214,61 +1214,61 @@  discard block
 block discarded – undo
1214 1214
  * One way to test is applying for a trystack account at http://trystack.org/
1215 1215
  */
1216 1216
 'objectstore' => [
1217
-	'class' => 'OC\\Files\\ObjectStore\\Swift',
1218
-	'arguments' => [
1219
-		// trystack will use your facebook id as the user name
1220
-		'username' => 'facebook100000123456789',
1221
-		// in the trystack dashboard go to user -> settings -> API Password to
1222
-		// generate a password
1223
-		'password' => 'Secr3tPaSSWoRdt7',
1224
-		// must already exist in the objectstore, name can be different
1225
-		'container' => 'nextcloud',
1226
-		// prefix to prepend to the fileid, default is 'oid:urn:'
1227
-		'objectPrefix' => 'oid:urn:',
1228
-		// create the container if it does not exist. default is false
1229
-		'autocreate' => true,
1230
-		// required, dev-/trystack defaults to 'RegionOne'
1231
-		'region' => 'RegionOne',
1232
-		// The Identity / Keystone endpoint
1233
-		'url' => 'http://8.21.28.222:5000/v2.0',
1234
-		// required on dev-/trystack
1235
-		'tenantName' => 'facebook100000123456789',
1236
-		// dev-/trystack uses swift by default, the lib defaults to 'cloudFiles'
1237
-		// if omitted
1238
-		'serviceName' => 'swift',
1239
-		// The Interface / url Type, optional
1240
-		'urlType' => 'internal'
1241
-	],
1217
+    'class' => 'OC\\Files\\ObjectStore\\Swift',
1218
+    'arguments' => [
1219
+        // trystack will use your facebook id as the user name
1220
+        'username' => 'facebook100000123456789',
1221
+        // in the trystack dashboard go to user -> settings -> API Password to
1222
+        // generate a password
1223
+        'password' => 'Secr3tPaSSWoRdt7',
1224
+        // must already exist in the objectstore, name can be different
1225
+        'container' => 'nextcloud',
1226
+        // prefix to prepend to the fileid, default is 'oid:urn:'
1227
+        'objectPrefix' => 'oid:urn:',
1228
+        // create the container if it does not exist. default is false
1229
+        'autocreate' => true,
1230
+        // required, dev-/trystack defaults to 'RegionOne'
1231
+        'region' => 'RegionOne',
1232
+        // The Identity / Keystone endpoint
1233
+        'url' => 'http://8.21.28.222:5000/v2.0',
1234
+        // required on dev-/trystack
1235
+        'tenantName' => 'facebook100000123456789',
1236
+        // dev-/trystack uses swift by default, the lib defaults to 'cloudFiles'
1237
+        // if omitted
1238
+        'serviceName' => 'swift',
1239
+        // The Interface / url Type, optional
1240
+        'urlType' => 'internal'
1241
+    ],
1242 1242
 ],
1243 1243
 
1244 1244
 /**
1245 1245
  * To use swift V3
1246 1246
  */
1247 1247
 'objectstore' => [
1248
-	'class' => 'OC\\Files\\ObjectStore\\Swift',
1249
-	'arguments' => [
1250
-		'autocreate' => true,
1251
-		'user' => [
1252
-			'name' => 'swift',
1253
-			'password' => 'swift',
1254
-			'domain' => [
1255
-				'name' => 'default',
1256
-			],
1257
-		],
1258
-		'scope' => [
1259
-			'project' => [
1260
-				'name' => 'service',
1261
-				'domain' => [
1262
-					'name' => 'default',
1263
-				],
1264
-			],
1265
-		],
1266
-		'tenantName' => 'service',
1267
-		'serviceName' => 'swift',
1268
-		'region' => 'regionOne',
1269
-		'url' => 'http://yourswifthost:5000/v3',
1270
-		'bucket' => 'nextcloud',
1271
-	],
1248
+    'class' => 'OC\\Files\\ObjectStore\\Swift',
1249
+    'arguments' => [
1250
+        'autocreate' => true,
1251
+        'user' => [
1252
+            'name' => 'swift',
1253
+            'password' => 'swift',
1254
+            'domain' => [
1255
+                'name' => 'default',
1256
+            ],
1257
+        ],
1258
+        'scope' => [
1259
+            'project' => [
1260
+                'name' => 'service',
1261
+                'domain' => [
1262
+                    'name' => 'default',
1263
+                ],
1264
+            ],
1265
+        ],
1266
+        'tenantName' => 'service',
1267
+        'serviceName' => 'swift',
1268
+        'region' => 'regionOne',
1269
+        'url' => 'http://yourswifthost:5000/v3',
1270
+        'bucket' => 'nextcloud',
1271
+    ],
1272 1272
 ],
1273 1273
 
1274 1274
 
@@ -1308,8 +1308,8 @@  discard block
 block discarded – undo
1308 1308
  * encryption in MySQL or specify a custom wait timeout on a cheap hoster.
1309 1309
  */
1310 1310
 'dbdriveroptions' => array(
1311
-	PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
1312
-	PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800'
1311
+    PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
1312
+    PDO::MYSQL_ATTR_INIT_COMMAND => 'SET wait_timeout = 28800'
1313 1313
 ),
1314 1314
 
1315 1315
 /**
@@ -1366,10 +1366,10 @@  discard block
 block discarded – undo
1366 1366
  *  - pgsql (PostgreSQL)
1367 1367
  */
1368 1368
 'supportedDatabases' => array(
1369
-	'sqlite',
1370
-	'mysql',
1371
-	'pgsql',
1372
-	'oci',
1369
+    'sqlite',
1370
+    'mysql',
1371
+    'pgsql',
1372
+    'oci',
1373 1373
 ),
1374 1374
 
1375 1375
 /**
@@ -1629,8 +1629,8 @@  discard block
 block discarded – undo
1629 1629
  * WARNING: only use this if you know what you are doing
1630 1630
  */
1631 1631
 'csrf.optout' => array(
1632
-	'/^WebDAVFS/', // OS X Finder
1633
-	'/^Microsoft-WebDAV-MiniRedir/', // Windows webdav drive
1632
+    '/^WebDAVFS/', // OS X Finder
1633
+    '/^Microsoft-WebDAV-MiniRedir/', // Windows webdav drive
1634 1634
 ),
1635 1635
 
1636 1636
 );
Please login to merge, or discard this patch.