Use auto_prepend_file INI directive to prepend Core.php to all web requests automatically

This commit is contained in:
Alex Cabal 2023-07-15 15:17:20 -05:00
parent fa952176d1
commit 042816cf45
69 changed files with 28 additions and 162 deletions

View file

@ -1,6 +1,4 @@
<?
require_once('Core.php');
?><?= Template::Header(['title' => '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.']) ?>
<?= Template::Header(['title' => '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.']) ?>
<main>
<article>
<h1>Common Issues When Working on Public Domain Ebooks</h1>

View file

@ -1,6 +1,4 @@
<?
require_once('Core.php');
?><?= Template::Header(['title' => '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.']) ?>
<?= Template::Header(['title' => '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.']) ?>
<main class="manual">
<article class="step-by-step-guide">
<h1>How to Add a Standard Ebooks Ebook to Goodreads</h1>

View file

@ -1,6 +1,4 @@
<?
require_once('Core.php');
?><?= Template::Header(['title' => 'How to create figures for music scores', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing SVG figures of music notation.']) ?>
<?= Template::Header(['title' => 'How to create figures for music scores', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing SVG figures of music notation.']) ?>
<main class="manual">
<article class="step-by-step-guide">
<h1>How to create figures for music scores</h1>

View file

@ -1,6 +1,4 @@
<?
require_once('Core.php');
?><?= Template::Header(['title' => 'How to Produce a Shakespeare Play', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing any play by William Shakespeare.']) ?>
<?= Template::Header(['title' => 'How to Produce a Shakespeare Play', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to producing any play by William Shakespeare.']) ?>
<main class="manual">
<article class="step-by-step-guide">
<h1>How to Produce a Shakespeare Play</h1>

View file

@ -1,6 +1,4 @@
<?
require_once('Core.php');
?><?= Template::Header(['title' => 'How to Review an Ebook Production for Publication', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to proofread and review an ebook production for publication.']) ?>
<?= Template::Header(['title' => 'How to Review an Ebook Production for Publication', 'manual' => true, 'highlight' => 'contribute', 'description' => 'A guide to proofread and review an ebook production for publication.']) ?>
<main class="manual">
<article class="step-by-step-guide">
<h1>How to Review an Ebook Production for Publication</h1>

View file

@ -1,6 +1,4 @@
<?
require_once('Core.php');
?><?= Template::Header(['title' => 'How-to Guides For Difficult Productions', 'manual' => true, 'highlight' => 'contribute', 'description' => 'Guides on how to produce more difficult productions.']) ?>
<?= Template::Header(['title' => 'How-to Guides For Difficult Productions', 'manual' => true, 'highlight' => 'contribute', 'description' => 'Guides on how to produce more difficult productions.']) ?>
<main>
<article>
<h1>How-to Guides</h1>