mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 03:35:13 +00:00
21 lines
422 B
Text
21 lines
422 B
Text
|
#!/usr/bin/env php
|
||
|
<?php
|
||
|
|
||
|
if(!file_exists('include/cli_startup.php')) {
|
||
|
echo 'Run config from the top level web directory, as util/config <args>' . PHP_EOL;
|
||
|
exit(1);
|
||
|
}
|
||
|
|
||
|
use Code\Web\Controller;
|
||
|
use Code\Module\Fhublocs;
|
||
|
|
||
|
|
||
|
require_once('include/cli_startup.php');
|
||
|
|
||
|
cli_startup();
|
||
|
|
||
|
|
||
|
$controller = new Fhublocs();
|
||
|
echo str_replace('<br>', '', $controller->get());
|
||
|
exit(0);
|