You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/private/Config.php
+19-2Lines changed: 19 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -268,8 +268,25 @@ private function writeData(): void {
268
268
}
269
269
270
270
// Create a php file ...
271
-
$content = "<?php\n";
272
-
$content .= '$CONFIG = ';
271
+
$content = "<?php
272
+
273
+
/*
274
+
* WARNING
275
+
*
276
+
* This file gets modified by automatic processes and all lines that are not
277
+
* active code (ie. comments) are lost during that process.
278
+
*
279
+
* If you want to document things with comments or use constants add your settings
280
+
* in a '<NAME>.config.php' file which will be included and rendered into this file.
281
+
*
282
+
* Example:
283
+
* <?php
284
+
* \$CONFIG = [];
285
+
*
286
+
* See also: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-merged-configuration-files
* This file gets modified by automatic processes and all lines that are not
106
+
* active code (ie. comments) are lost during that process.
107
+
*
108
+
* If you want to document things with comments or use constants add your settings
109
+
* in a '<NAME>.config.php' file which will be included and rendered into this file.
110
+
*
111
+
* Example:
112
+
* <?php
113
+
* \$CONFIG = [];
114
+
*
115
+
* See also: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-merged-configuration-files
* This file gets modified by automatic processes and all lines that are not
136
+
* active code (ie. comments) are lost during that process.
137
+
*
138
+
* If you want to document things with comments or use constants add your settings
139
+
* in a '<NAME>.config.php' file which will be included and rendered into this file.
140
+
*
141
+
* Example:
142
+
* <?php
143
+
* \$CONFIG = [];
144
+
*
145
+
* See also: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-merged-configuration-files
* This file gets modified by automatic processes and all lines that are not
186
+
* active code (ie. comments) are lost during that process.
187
+
*
188
+
* If you want to document things with comments or use constants add your settings
189
+
* in a '<NAME>.config.php' file which will be included and rendered into this file.
190
+
*
191
+
* Example:
192
+
* <?php
193
+
* \$CONFIG = [];
194
+
*
195
+
* See also: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-merged-configuration-files
* This file gets modified by automatic processes and all lines that are not
216
+
* active code (ie. comments) are lost during that process.
217
+
*
218
+
* If you want to document things with comments or use constants add your settings
219
+
* in a '<NAME>.config.php' file which will be included and rendered into this file.
220
+
*
221
+
* Example:
222
+
* <?php
223
+
* \$CONFIG = [];
224
+
*
225
+
* See also: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-merged-configuration-files
* This file gets modified by automatic processes and all lines that are not
255
+
* active code (ie. comments) are lost during that process.
256
+
*
257
+
* If you want to document things with comments or use constants add your settings
258
+
* in a '<NAME>.config.php' file which will be included and rendered into this file.
259
+
*
260
+
* Example:
261
+
* <?php
262
+
* \$CONFIG = [];
263
+
*
264
+
* See also: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-merged-configuration-files
0 commit comments