improve error message in config and pconfig
This commit is contained in:
parent
d67d8b6d6e
commit
f336f38ad5
@ -3,6 +3,11 @@
|
||||
|
||||
// Red config utility
|
||||
|
||||
if(!file_exists('include/cli_startup.php')) {
|
||||
echo 'Run config from the top level Hubzilla web directory, as util/config <args>' . PHP_EOL;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once('include/cli_startup.php');
|
||||
|
||||
cli_startup();
|
||||
|
@ -3,6 +3,14 @@
|
||||
|
||||
// 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;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
require_once('include/cli_startup.php');
|
||||
require_once('include/zot.php');
|
||||
|
||||
|
Reference in New Issue
Block a user