diff --git a/inc/inc.ClassSettings.php b/inc/inc.ClassSettings.php
index 2722e07b3..0010964d3 100644
--- a/inc/inc.ClassSettings.php
+++ b/inc/inc.ClassSettings.php
@@ -418,7 +418,10 @@ class Settings { /* {{{ */
// Load config file
if (!defined("SEEDDMS_INSTALL")) {
if(!file_exists($configFilePath)) {
- echo "You do not seem to have a valid configuration. Run the install tool first.";
+ if(php_sapi_name() === 'cli')
+ echo "You do not seem to have a valid configuration. Set SEEDDMS_CONFIG_FILE to the path of the configuration file.\n";
+ else
+ echo "You do not seem to have a valid configuration. Run the install tool first.";
exit;
}
}