mirror of https://github.com/flarum/flarum
Split up front controllers again
parent
e3b14ea8ce
commit
b009ea6b1c
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
$server = new Flarum\Admin\Server(__DIR__);
|
||||
|
||||
$server->listen();
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Flarum.
|
||||
*
|
||||
* (c) Toby Zerner <toby.zerner@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
$server = new Flarum\Api\Server(__DIR__);
|
||||
|
||||
$server->listen();
|
2
flarum
2
flarum
|
@ -13,6 +13,6 @@ define('FLARUM_START', microtime(true));
|
|||
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
$server = new Flarum\Server\ConsoleServer(__DIR__);
|
||||
$server = new Flarum\Console\Server(__DIR__);
|
||||
|
||||
$server->listen();
|
||||
|
|
Loading…
Reference in New Issue