For the example list of path options generated by conf_path(), the line breaks are a bit out:
1. $confdir/8080.www.example.com.mysite.test 2. $confdir/www.example.com.mysite.test 3. $confdir/example.com.mysite.test 4. $confdir/com.mysite.test
5. $confdir/8080.www.example.com.mysite 6. $confdir/www.example.com.mysite 7. $confdir/example.com.mysite 8. $confdir/com.mysite
9. $confdir/8080.www.example.com 10. $confdir/www.example.com 11. $confdir/example.com 12. $confdir/com
13. $confdir/default
Instead of:
1. $confdir/8080.www.example.com.mysite.test
2. $confdir/www.example.com.mysite.test
3. $confdir/example.com.mysite.test
4. $confdir/com.mysite.test
5. $confdir/8080.www.example.com.mysite
6. $confdir/www.example.com.mysite
7. $confdir/example.com.mysite
8. $confdir/com.mysite
9. $confdir/8080.www.example.com
10. $confdir/www.example.com
11. $confdir/example.com
12. $confdir/com
13. $confdir/default
Comment | File | Size | Author |
---|---|---|---|
#2 | bullet_list-1273032-2.patch | 1.4 KB | michaellenahan |
Comments
Comment #1
jhodgdonhttp://api.drupal.org/api/drupal/includes--bootstrap.inc/function/conf_path
Just as a note, this is also an issue in default.settings.php:
#1262064: default.settings.php has formatting issue with numbered list
Changing title so it's more obvious these two issues are the same.
As I suggested there, I think the best fix is to make this a bullet list, which the API module supports and formats correctly, instead of using a numbered list, which isn't supported at this time. Getting changes into the API module is not usually speedy (mostly because no one works on them).
Comment #2
michaellenahan CreditAttribution: michaellenahan commentedPatch attached. I'm still quite new to this - I started on codesprint day at drupalcon London - so feedback appreciated.
Comment #3
michaellenahan CreditAttribution: michaellenahan commentedComment #4
jhodgdonLooks great to me! Thanks for making the patch. Should apply to 8.x/7.x.
Comment #5
Dries CreditAttribution: Dries commentedCommitted to 7.x and 8.x. Thanks.