cleanup of cli admin tool
This commit is contained in:
parent
b9cef2f38f
commit
535f0f45c9
@ -1,18 +1,14 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
// Red pconfig utility
|
||||
|
||||
|
||||
if(!file_exists('include/cli_startup.php')) {
|
||||
echo 'Run pconfig from the top level Hubzilla web directory, as util/pconfig <args>' . PHP_EOL;
|
||||
echo 'Run admins from the top level Hubzilla web directory, as util/admins <args>' . PHP_EOL;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
require_once('include/cli_startup.php');
|
||||
require_once('include/zot.php');
|
||||
|
||||
cli_startup();
|
||||
|
||||
|
Reference in New Issue
Block a user