summaryrefslogtreecommitdiff
path: root/scripts/console.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-07 09:53:29 +0000
committerSarven Capadisli <csarven@status.net>2010-01-07 09:53:29 +0000
commite53512cd2c2180f81fc7317de9df09a140099aa3 (patch)
tree0ce2990af79feb5c2fb048841d0c61c184dbba00 /scripts/console.php
parentd17c2d8ebacb799e7dd6bebe249df765ea918880 (diff)
parentf4fa785fb7cf6f222f77ad81f6a1e50e5af7fdf3 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'scripts/console.php')
-rwxr-xr-xscripts/console.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/console.php b/scripts/console.php
index 329caf472..8b62a3a96 100755
--- a/scripts/console.php
+++ b/scripts/console.php
@@ -128,6 +128,8 @@ function console_help()
if (CONSOLE_INTERACTIVE) {
print "StatusNet interactive PHP console... type ctrl+D or enter 'exit' to exit.\n";
$prompt = common_config('site', 'name') . '> ';
+} else {
+ $prompt = '';
}
while (!feof(STDIN)) {
$line = read_input_line($prompt);