mirror of
https://github.com/Karaka-Management/oms-Search.git
synced 2026-02-04 12:48:40 +00:00
mostly rename Router to WebRouter
This commit is contained in:
parent
51e827c6d7
commit
c74b74ad74
|
|
@ -18,7 +18,7 @@ use phpOMS\ApplicationAbstract;
|
|||
use phpOMS\Message\NotificationLevel;
|
||||
use phpOMS\Message\RequestAbstract;
|
||||
use phpOMS\Message\ResponseAbstract;
|
||||
use phpOMS\Router\Router;
|
||||
use phpOMS\Router\WebRouter;
|
||||
use phpOMS\System\MimeType;
|
||||
|
||||
/**
|
||||
|
|
@ -40,7 +40,7 @@ final class ApiController extends Controller
|
|||
{
|
||||
parent::__construct($app);
|
||||
|
||||
$this->router = new Router();
|
||||
$this->router = new WebRouter();
|
||||
$this->router->importFromFile(__DIR__ . '/../SearchCommands.php');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user