aboutsummaryrefslogtreecommitdiffstats
path: root/util/config
diff options
context:
space:
mode:
Diffstat (limited to 'util/config')
-rwxr-xr-xutil/config5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/config b/util/config
index 5113bd8ec..d4bcd5da1 100755
--- a/util/config
+++ b/util/config
@@ -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();