diff --git a/config/php/fpm/standardebooks.org.conf b/config/php/fpm/standardebooks.org.conf index e7867cec..9398f2a3 100644 --- a/config/php/fpm/standardebooks.org.conf +++ b/config/php/fpm/standardebooks.org.conf @@ -16,3 +16,4 @@ slowlog = /var/log/local/php-fpm-slow.log catch_workers_output = yes php_admin_value[include_path] = /standardebooks.org/web/lib +php_admin_value[auto_prepend_file] = Core.php diff --git a/config/php/fpm/standardebooks.test.conf b/config/php/fpm/standardebooks.test.conf index 230c05f3..3d15eca6 100644 --- a/config/php/fpm/standardebooks.test.conf +++ b/config/php/fpm/standardebooks.test.conf @@ -16,3 +16,4 @@ slowlog = /var/log/local/php-fpm-slow.log catch_workers_output = yes php_admin_value[include_path] = /standardebooks.org/web/lib:/standardebooks.org/web/vendor +php_admin_value[auto_prepend_file] = Core.php diff --git a/www/404.php b/www/404.php index 98cedf35..2004cf69 100644 --- a/www/404.php +++ b/www/404.php @@ -1,7 +1,4 @@ - 'We Couldn’t Find That Document', 'highlight' => '', 'description' => 'We couldn’t find that document.', 'is404' => true]) ?> + 'We Couldn’t Find That Document', 'highlight' => '', 'description' => 'We couldn’t find that document.', 'is404' => true]) ?>
diff --git a/www/451.php b/www/451.php index dbba9d6a..9db0a022 100644 --- a/www/451.php +++ b/www/451.php @@ -1,7 +1,4 @@ - 'This Ebook Is No Longer Available', 'highlight' => '', 'description' => 'This ebook is unavailable due to legal reasons.']) ?> + 'This Ebook Is No Longer Available', 'highlight' => '', 'description' => 'This ebook is unavailable due to legal reasons.']) ?>
diff --git a/www/about/index.php b/www/about/index.php index a1b05661..f30e38b6 100644 --- a/www/about/index.php +++ b/www/about/index.php @@ -1,6 +1,4 @@ 'Our goals', 'highlight' => 'about', 'description' => 'The goals of Standard Ebooks.']) ?> + 'Our goals', 'highlight' => 'about', 'description' => 'The goals of Standard Ebooks.']) ?>

Our Goals

diff --git a/www/about/standard-ebooks-and-the-public-domain.php b/www/about/standard-ebooks-and-the-public-domain.php index 226344ea..f04449f7 100644 --- a/www/about/standard-ebooks-and-the-public-domain.php +++ b/www/about/standard-ebooks-and-the-public-domain.php @@ -1,6 +1,4 @@ - 'Standard Ebooks and the public domain', 'highlight' => 'about', 'description' => 'The Standard Ebooks’ philosophy on copyright and the public domain.']) ?> + 'Standard Ebooks and the public domain', 'highlight' => 'about', 'description' => 'The Standard Ebooks’ philosophy on copyright and the public domain.']) ?>

Standard Ebooks and the public domain

diff --git a/www/about/what-makes-standard-ebooks-different.php b/www/about/what-makes-standard-ebooks-different.php index 49ac50fb..8277b741 100644 --- a/www/about/what-makes-standard-ebooks-different.php +++ b/www/about/what-makes-standard-ebooks-different.php @@ -1,6 +1,4 @@ - 'What makes Standard Ebooks different', 'highlight' => 'about', 'description' => 'How Standard Ebooks differs from other free ebook projects.']) ?> + 'What makes Standard Ebooks different', 'highlight' => 'about', 'description' => 'How Standard Ebooks differs from other free ebook projects.']) ?>

What makes Standard Ebooks different

diff --git a/www/bulk-downloads/collection.php b/www/bulk-downloads/collection.php index 605efbf0..d2f8d73c 100644 --- a/www/bulk-downloads/collection.php +++ b/www/bulk-downloads/collection.php @@ -1,6 +1,4 @@ Benefits->CanBulkDownload){ $canDownload = true; diff --git a/www/collections/index.php b/www/collections/index.php index b5874157..0be79123 100644 --- a/www/collections/index.php +++ b/www/collections/index.php @@ -1,6 +1,4 @@ 'Ebook Collections', 'highlight' => '', 'description' => 'Browse collections of Standard Ebooks.']) ?> diff --git a/www/contribute/a-basic-standard-ebooks-source-folder.php b/www/contribute/a-basic-standard-ebooks-source-folder.php index b764389f..76efa9e0 100644 --- a/www/contribute/a-basic-standard-ebooks-source-folder.php +++ b/www/contribute/a-basic-standard-ebooks-source-folder.php @@ -1,6 +1,4 @@ - 'A Basic Standard Ebooks Source Folder', 'manual' => true, 'highlight' => 'contribute', 'description' => 'All Standard Ebooks source folders have the same basic structure, described here.']) ?> + 'A Basic Standard Ebooks Source Folder', 'manual' => true, 'highlight' => 'contribute', 'description' => 'All Standard Ebooks source folders have the same basic structure, described here.']) ?>

A Basic Standard Ebooks Source Folder

diff --git a/www/contribute/collections-policy.php b/www/contribute/collections-policy.php index 433e3ab9..9055d53d 100644 --- a/www/contribute/collections-policy.php +++ b/www/contribute/collections-policy.php @@ -1,6 +1,4 @@ - 'Collections Policy', 'highlight' => 'contribute', 'description' => 'Standard Ebooks only accepts certain kinds of ebooks for production and hosting. This is the full list.']) ?> + 'Collections Policy', 'highlight' => 'contribute', 'description' => 'Standard Ebooks only accepts certain kinds of ebooks for production and hosting. This is the full list.']) ?>
diff --git a/www/contribute/how-tos/common-issues-when-working-on-public-domain-ebooks.php b/www/contribute/how-tos/common-issues-when-working-on-public-domain-ebooks.php index e9e22942..14c1d460 100644 --- a/www/contribute/how-tos/common-issues-when-working-on-public-domain-ebooks.php +++ b/www/contribute/how-tos/common-issues-when-working-on-public-domain-ebooks.php @@ -1,6 +1,4 @@ - 'Common Issues When Working on Public Domain Ebooks', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A list of common issues encountered when converting from public domain transcriptions.']) ?> + 'Common Issues When Working on Public Domain Ebooks', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A list of common issues encountered when converting from public domain transcriptions.']) ?>

Common Issues When Working on Public Domain Ebooks

diff --git a/www/contribute/how-tos/how-to-add-a-standard-ebooks-ebook-to-goodreads.php b/www/contribute/how-tos/how-to-add-a-standard-ebooks-ebook-to-goodreads.php index 21f0fcbe..b18926f4 100644 --- a/www/contribute/how-tos/how-to-add-a-standard-ebooks-ebook-to-goodreads.php +++ b/www/contribute/how-tos/how-to-add-a-standard-ebooks-ebook-to-goodreads.php @@ -1,6 +1,4 @@ - 'How to Add a Standard Ebooks book to Goodreads', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to add a Standard Ebook edition of a book to the Goodreads website.']) ?> + 'How to Add a Standard Ebooks book to Goodreads', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to add a Standard Ebook edition of a book to the Goodreads website.']) ?>

How to Add a Standard Ebooks Ebook to Goodreads

diff --git a/www/contribute/how-tos/how-to-create-figures-for-music-scores.php b/www/contribute/how-tos/how-to-create-figures-for-music-scores.php index 7b5e20fe..4fa82749 100644 --- a/www/contribute/how-tos/how-to-create-figures-for-music-scores.php +++ b/www/contribute/how-tos/how-to-create-figures-for-music-scores.php @@ -1,6 +1,4 @@ - 'How to create figures for music scores', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing SVG figures of music notation.']) ?> + 'How to create figures for music scores', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing SVG figures of music notation.']) ?>

How to create figures for music scores

diff --git a/www/contribute/how-tos/how-to-produce-a-shakespeare-play.php b/www/contribute/how-tos/how-to-produce-a-shakespeare-play.php index 1924172d..30253a1c 100644 --- a/www/contribute/how-tos/how-to-produce-a-shakespeare-play.php +++ b/www/contribute/how-tos/how-to-produce-a-shakespeare-play.php @@ -1,6 +1,4 @@ - 'How to Produce a Shakespeare Play', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing any play by William Shakespeare.']) ?> + 'How to Produce a Shakespeare Play', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing any play by William Shakespeare.']) ?>

How to Produce a Shakespeare Play

diff --git a/www/contribute/how-tos/how-to-review-an-ebook-production-for-publication.php b/www/contribute/how-tos/how-to-review-an-ebook-production-for-publication.php index e0961dfa..505447f4 100644 --- a/www/contribute/how-tos/how-to-review-an-ebook-production-for-publication.php +++ b/www/contribute/how-tos/how-to-review-an-ebook-production-for-publication.php @@ -1,6 +1,4 @@ - 'How to Review an Ebook Production for Publication', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to proofread and review an ebook production for publication.']) ?> + 'How to Review an Ebook Production for Publication', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to proofread and review an ebook production for publication.']) ?>

How to Review an Ebook Production for Publication

diff --git a/www/contribute/how-tos/index.php b/www/contribute/how-tos/index.php index ae7d1f86..517f1331 100644 --- a/www/contribute/how-tos/index.php +++ b/www/contribute/how-tos/index.php @@ -1,6 +1,4 @@ - 'How-to Guides For Difficult Productions', 'manual' => true, 'highlight' => 'contribute', 'description' => 'Guides on how to produce more difficult productions.']) ?> + 'How-to Guides For Difficult Productions', 'manual' => true, 'highlight' => 'contribute', 'description' => 'Guides on how to produce more difficult productions.']) ?>

How-to Guides

diff --git a/www/contribute/index.php b/www/contribute/index.php index b55c4b2a..70e48821 100644 --- a/www/contribute/index.php +++ b/www/contribute/index.php @@ -1,6 +1,4 @@ - 'Get Involved', 'highlight' => 'contribute', 'description' => 'Details on how to contribute your time and talent to the volunteer-driven Standard Ebooks project.']) ?> + 'Get Involved', 'highlight' => 'contribute', 'description' => 'Details on how to contribute your time and talent to the volunteer-driven Standard Ebooks project.']) ?>

Get Involved

diff --git a/www/contribute/producers.php b/www/contribute/producers.php index c01c6e87..5b8625d1 100644 --- a/www/contribute/producers.php +++ b/www/contribute/producers.php @@ -1,6 +1,4 @@ - 'Producing an ebook for Standard Ebooks', 'highlight' => 'contribute', 'description' => 'A high-level outline of the process of producing an ebook for Standard Ebooks.']) ?> + 'Producing an ebook for Standard Ebooks', 'highlight' => 'contribute', 'description' => 'A high-level outline of the process of producing an ebook for Standard Ebooks.']) ?>

Producing an ebook for Standard Ebooks

diff --git a/www/contribute/producing-an-ebook-step-by-step.php b/www/contribute/producing-an-ebook-step-by-step.php index ca66c367..2334431d 100644 --- a/www/contribute/producing-an-ebook-step-by-step.php +++ b/www/contribute/producing-an-ebook-step-by-step.php @@ -1,6 +1,4 @@ - 'Producing an Ebook, Step by Step', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A detailed step-by-step description of the complete process of producing an ebook for Standard Ebooks, start to finish.']) ?> + 'Producing an Ebook, Step by Step', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A detailed step-by-step description of the complete process of producing an ebook for Standard Ebooks, start to finish.']) ?>

Producing an Ebook, Step by Step

diff --git a/www/contribute/report-errors-upstream.php b/www/contribute/report-errors-upstream.php index cd862c44..06095ef3 100644 --- a/www/contribute/report-errors-upstream.php +++ b/www/contribute/report-errors-upstream.php @@ -1,6 +1,4 @@ - 'Report Errors Upstream', 'highlight' => 'contribute', 'description' => 'Our guide to reporting errors to Gutenberg and other sources.']) ?> + 'Report Errors Upstream', 'highlight' => 'contribute', 'description' => 'Our guide to reporting errors to Gutenberg and other sources.']) ?>

Report Errors Upstream

diff --git a/www/contribute/report-errors.php b/www/contribute/report-errors.php index 29a52f02..a146c975 100644 --- a/www/contribute/report-errors.php +++ b/www/contribute/report-errors.php @@ -1,6 +1,4 @@ - 'Report Errors', 'highlight' => 'contribute', 'description' => 'How to report a typo or error you’ve found in a Standard Ebooks ebook.']) ?> + 'Report Errors', 'highlight' => 'contribute', 'description' => 'How to report a typo or error you’ve found in a Standard Ebooks ebook.']) ?>

Report Errors

diff --git a/www/contribute/tips-for-editors-and-proofreaders.php b/www/contribute/tips-for-editors-and-proofreaders.php index 58bed536..90e25ff3 100644 --- a/www/contribute/tips-for-editors-and-proofreaders.php +++ b/www/contribute/tips-for-editors-and-proofreaders.php @@ -1,6 +1,4 @@ - 'Tips for Editors and Proofreaders', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A list of tips and tricks for people who’d like to proofread a Standard Ebooks ebook.']) ?> + 'Tips for Editors and Proofreaders', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A list of tips and tricks for people who’d like to proofread a Standard Ebooks ebook.']) ?>

Tips for Editors and Proofreaders

diff --git a/www/contribute/uncategorized-art-resources.php b/www/contribute/uncategorized-art-resources.php index 481b06ba..c7b4d0ee 100644 --- a/www/contribute/uncategorized-art-resources.php +++ b/www/contribute/uncategorized-art-resources.php @@ -1,6 +1,4 @@ - 'Uncategorized Art Resources', 'highlight' => 'contribute', 'description' => 'A list of US-PD art books for use when conducting cover art research.']) ?> + 'Uncategorized Art Resources', 'highlight' => 'contribute', 'description' => 'A list of US-PD art books for use when conducting cover art research.']) ?>

Uncategorized art books

diff --git a/www/contribute/wanted-ebooks.php b/www/contribute/wanted-ebooks.php index 8dc91517..65a16d53 100644 --- a/www/contribute/wanted-ebooks.php +++ b/www/contribute/wanted-ebooks.php @@ -1,6 +1,4 @@ - 'Wanted Ebooks', 'highlight' => 'contribute', 'description' => 'A list of ebooks the Standard Ebooks editor would like to see produced, including suggestions for first-time producers.']) ?> + 'Wanted Ebooks', 'highlight' => 'contribute', 'description' => 'A list of ebooks the Standard Ebooks editor would like to see produced, including suggestions for first-time producers.']) ?>

Wanted Ebooks

diff --git a/www/donate/index.php b/www/donate/index.php index f2b34a9b..0c353ec8 100644 --- a/www/donate/index.php +++ b/www/donate/index.php @@ -1,6 +1,4 @@ 'Atom 1.0 Ebook Feeds', 'description' => 'A list of available Atom 1.0 feeds of Standard Ebooks ebooks.']) ?> + 'Atom 1.0 Ebook Feeds', 'description' => 'A list of available Atom 1.0 feeds of Standard Ebooks ebooks.']) ?>

Atom 1.0 Ebook Feeds

diff --git a/www/feeds/atom/search.php b/www/feeds/atom/search.php index fc2214cb..27dc59e6 100644 --- a/www/feeds/atom/search.php +++ b/www/feeds/atom/search.php @@ -1,5 +1,4 @@ 'Ebook Feeds', 'description' => 'A list of available feeds of Standard Ebooks ebooks.']) ?> + 'Ebook Feeds', 'description' => 'A list of available feeds of Standard Ebooks ebooks.']) ?>

Ebook Feeds

diff --git a/www/feeds/opds/search.php b/www/feeds/opds/search.php index 63977697..f3ea151c 100644 --- a/www/feeds/opds/search.php +++ b/www/feeds/opds/search.php @@ -1,5 +1,4 @@ 'RSS 2.0 Ebook Feeds', 'description' => 'A list of available RSS 2.0 feeds of Standard Ebooks ebooks.']) ?> + 'RSS 2.0 Ebook Feeds', 'description' => 'A list of available RSS 2.0 feeds of Standard Ebooks ebooks.']) ?>

RSS 2.0 Ebook Feeds

diff --git a/www/feeds/rss/search.php b/www/feeds/rss/search.php index b23cfb9c..82aaaa15 100644 --- a/www/feeds/rss/search.php +++ b/www/feeds/rss/search.php @@ -1,5 +1,4 @@ 'How to Use Our Ebooks', 'highlight' => 'contribute', 'manual' => true, 'description' => 'Help, tips, and tricks for using the ebook files you download from Standard Ebooks.']) ?> + 'How to Use Our Ebooks', 'highlight' => 'contribute', 'manual' => true, 'description' => 'Help, tips, and tricks for using the ebook files you download from Standard Ebooks.']) ?>

How to Use Our Ebooks

diff --git a/www/images/captcha.php b/www/images/captcha.php index 3534bc54..fc783bf8 100644 --- a/www/images/captcha.php +++ b/www/images/captcha.php @@ -1,10 +1,7 @@ 'Free and liberated ebooks, carefully produced for the true book lover. Download free ebooks with professional-quality formatting and typography, in formats compatible with your ereader.']) ?> + 'Free and liberated ebooks, carefully produced for the true book lover. Download free ebooks with professional-quality formatting and typography, in formats compatible with your ereader.']) ?>

Free and liberated ebooks,
carefully produced for the true book lover.

diff --git a/www/manual/index.php b/www/manual/index.php index fe1ff054..9b645187 100644 --- a/www/manual/index.php +++ b/www/manual/index.php @@ -1,5 +1,4 @@ 'Website Settings', 'description' => 'Adjust your settings for viewing the Standard Ebooks website.']) ?> diff --git a/www/settings/post.php b/www/settings/post.php index 94ea53d3..0f90cce1 100644 --- a/www/settings/post.php +++ b/www/settings/post.php @@ -1,6 +1,4 @@