mirror of https://github.com/flarum/flarum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
634 B
25 lines
634 B
#!/usr/bin/env php
|
|
<?php
|
|
|
|
/*
|
|
* This file is part of Flarum.
|
|
*
|
|
* For detailed copyright and license information, please view the
|
|
* LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
$site = require 'site.php';
|
|
|
|
/*
|
|
|-------------------------------------------------------------------------------
|
|
| Interpret console arguments
|
|
|-------------------------------------------------------------------------------
|
|
|
|
|
| Flarum's console interprets all command-line arguments to select and then
|
|
| execute corresponding commands for certain administrative tasks.
|
|
|
|
|
*/
|
|
|
|
$server = new Flarum\Console\Server($site);
|
|
$server->listen();
|