- Add htmx, hx attributes - Only add/update items since last check - Move messages to session to persist across redirects - Polish styles a bit (still WIP)
21 lines
463 B
PHP
21 lines
463 B
PHP
<?php
|
|
|
|
/** The current Feed Reader Central version */
|
|
const FRC_VERSION = '1.0.0-alpha5';
|
|
|
|
spl_autoload_register(function ($class) {
|
|
$file = implode(DIRECTORY_SEPARATOR, [__DIR__, 'lib', "$class.php"]);
|
|
if (file_exists($file)) {
|
|
require $file;
|
|
return true;
|
|
}
|
|
return false;
|
|
});
|
|
|
|
require 'user-config.php';
|
|
|
|
Data::ensureDb();
|
|
|
|
/** @var string The date the world wide web was created */
|
|
const WWW_EPOCH = '1993-04-30T00:00:00+00:00';
|