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