aboutsummaryrefslogtreecommitdiffstats
path: root/util/pconfig
diff options
context:
space:
mode:
Diffstat (limited to 'util/pconfig')
-rwxr-xr-xutil/pconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/pconfig b/util/pconfig
index 77fcd6d38..1afba8306 100755
--- a/util/pconfig
+++ b/util/pconfig
@@ -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');