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');
$colorScheme = $_COOKIE['color-scheme'] ?? 'auto';
?><?= Template::Header(['title' => 'Website Settings', 'description' => 'Adjust your settings for viewing the Standard Ebooks website.']) ?>

View file

@ -1,6 +1,4 @@
<?
require_once('Core.php');
use function Safe\strtotime;
$hideDonationAlert = HttpInput::Bool(POST, 'hide-donation-alert');