mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
6d4aa4db6e
- Basic update service handles only one feed at a time and possibly leaks memory - Output for REST requests is still very basic - No avatar support - No reporting of whether cron works - No cleanup before or after feed updates
10 lines
No EOL
204 B
PHP
10 lines
No EOL
204 B
PHP
<?php
|
|
namespace JKingWeb\Arsse;
|
|
require_once __DIR__.DIRECTORY_SEPARATOR."bootstrap.php";
|
|
Data::load(new Conf());
|
|
|
|
if(\PHP_SAPI=="cli") {
|
|
(new Service)->watch();
|
|
} else {
|
|
(new REST)->dispatch();
|
|
} |