remove local project folder from gitignore

in App::__construct use echo instead of trigger_error
This commit is contained in:
Ben Connito 2014-09-12 11:46:33 -04:00
parent 705423e0b3
commit 417017b667
2 changed files with 3 additions and 4 deletions

4
.gitignore vendored
View File

@ -2,6 +2,4 @@ phpunit.xml
reports
sandbox
vendor
composer.lock
/nbproject/private/
/nbproject/
composer.lock

View File

@ -62,7 +62,7 @@ class App {
*/
public function __construct($httpHost = 'localhost', $port = 8080, $address = '127.0.0.1', LoopInterface $loop = null) {
if (extension_loaded('xdebug')) {
trigger_error("XDebug extension detected. Remember to disable this if performance testing or going live!", E_USER_WARNING);
echo("XDebug extension detected. Remember to disable this if performance testing or going live!" . PHP_EOL);
}
if (3 !== strlen('✓')) {
@ -102,6 +102,7 @@ class App {
$flashSock->listen(843, '0.0.0.0');
}else{
fclose($test);
echo('flash socket server already running on 843' . PHP_EOL);
}
}