2015-10-02 07:37:11 +00:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
2020-01-17 15:43:50 +00:00
|
|
|
|
2015-10-02 07:37:11 +00:00
|
|
|
/*
|
|
|
|
* This file is part of Flarum.
|
|
|
|
*
|
2020-01-05 21:30:09 +00:00
|
|
|
* For detailed copyright and license information, please view the
|
|
|
|
* LICENSE file that was distributed with this source code.
|
2015-10-02 07:37:11 +00:00
|
|
|
*/
|
|
|
|
|
2020-01-31 13:03:32 +00:00
|
|
|
$site = require 'site.php';
|
2015-10-02 07:37:11 +00:00
|
|
|
|
2020-01-31 13:03:32 +00:00
|
|
|
/*
|
|
|
|
|-------------------------------------------------------------------------------
|
|
|
|
| Interpret console arguments
|
|
|
|
|-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Flarum's console interprets all command-line arguments to select and then
|
|
|
|
| execute corresponding commands for certain administrative tasks.
|
|
|
|
|
|
|
|
|
*/
|
2018-05-28 21:16:14 +00:00
|
|
|
|
2020-01-31 13:03:32 +00:00
|
|
|
$server = new Flarum\Console\Server($site);
|
2018-05-28 21:16:14 +00:00
|
|
|
$server->listen();
|