feed-reader-central/src/app-config.php
Daniel J. Summers 1826ecd588 Derive feed from HTML (#10)
- Prevent duplicate feed subscriptions
- Move FeedItem to its own file
2024-04-27 22:05:39 -04:00

18 lines
356 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();