cleanup of cli admin tool

This commit is contained in:
zotlabs 2019-01-26 12:55:12 -08:00
parent b9cef2f38f
commit 535f0f45c9

View File

@ -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();