remove local project folder from gitignore
in App::__construct use echo instead of trigger_error
This commit is contained in:
parent
705423e0b3
commit
417017b667
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,5 +3,3 @@ reports
|
||||
sandbox
|
||||
vendor
|
||||
composer.lock
|
||||
/nbproject/private/
|
||||
/nbproject/
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user