For whatever reason the /sites/default/settings.php file uses comment and string conventions that differ from the rest of Drupal. Comments use # instead of c-style comments and all strings use double quotes unnecessarily.
This patch updates settings.php to conform to the recommended style conventions.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | settings-2.patch | 4.58 KB | tangent |
| settings.patch | 4.54 KB | tangent |
Comments
Comment #1
Stefan Nagtegaal commentedI made such a patch before and didn't got committed because we use Doxygen comment style now in core..
Please - if your time permits - make a new patch which adds the Doxygen comments in a proper way...
Comment #2
tangent commentedI'm not sure if you are asking for the comments to simply show up or if it is desired that the comments are reworked for better documentation purposes. This new patch simply makes the comments doxygen style so they'll show up. It also moves all the database settings comments together so they'll show as a block.
Comment #3
tangent commentedPostponing this issue in favor of the more useful patch in issue 17303. If that patch is refused then this patch should be used. Otherwise this issue may be closed.
Comment #4
tangent commentedClosing since this was handled in the aforementioned issue.