2017-07-15 20:44:06 +00:00
|
|
|
<?php
|
|
|
|
namespace JKingWeb\Arsse;
|
|
|
|
require_once __DIR__.DIRECTORY_SEPARATOR."bootstrap.php";
|
2017-07-17 11:47:57 +00:00
|
|
|
Arsse::load(new Conf());
|
2017-07-15 20:44:06 +00:00
|
|
|
|
|
|
|
if(\PHP_SAPI=="cli") {
|
|
|
|
(new Service)->watch();
|
|
|
|
} else {
|
|
|
|
(new REST)->dispatch();
|
|
|
|
}
|