Add user maintenance CLI (#9)
- Add CLI infrastructure - Add user to index page query - Strip tags from title - Move item parsing to FeedItem
This commit is contained in:
@@ -1,18 +1,7 @@
|
||||
<?php
|
||||
use JetBrains\PhpStorm\NoReturn;
|
||||
|
||||
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();
|
||||
require 'app-config.php';
|
||||
|
||||
session_start([
|
||||
'name' => 'FRCSESSION',
|
||||
|
||||
Reference in New Issue
Block a user