Skip to content

Commit

Permalink
Add exit instructions to ServerShell.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 17, 2014
1 parent 9faec97 commit 04c7748
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Console/Command/ServerShell.php
@@ -1,7 +1,5 @@
<?php
/**
* built-in Server Shell
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
Expand Down Expand Up @@ -134,6 +132,7 @@ public function main() {

$port = ($this->_port == static::DEFAULT_PORT) ? '' : ':' . $this->_port;
$this->out(__d('cake_console', 'built-in server is running in http://%s%s/', $this->_host, $port));
$this->out(__d('cake_console', 'You can exit with <info>CTRL-C</info>'));
system($command);
}

Expand Down

0 comments on commit 04c7748

Please sign in to comment.