changed echos back to trigger_error
This commit is contained in:
		
							parent
							
								
									417017b667
								
							
						
					
					
						commit
						a6e7952671
					
				| @ -62,7 +62,7 @@ class App { | |||||||
|      */ |      */ | ||||||
|     public function __construct($httpHost = 'localhost', $port = 8080, $address = '127.0.0.1', LoopInterface $loop = null) { |     public function __construct($httpHost = 'localhost', $port = 8080, $address = '127.0.0.1', LoopInterface $loop = null) { | ||||||
|         if (extension_loaded('xdebug')) { |         if (extension_loaded('xdebug')) { | ||||||
|             echo("XDebug extension detected. Remember to disable this if performance testing or going live!" . PHP_EOL); |             trigger_error('XDebug extension detected. Remember to disable this if performance testing or going live!', E_USER_WARNING); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         if (3 !== strlen('✓')) { |         if (3 !== strlen('✓')) { | ||||||
| @ -102,7 +102,7 @@ class App { | |||||||
|           $flashSock->listen(843, '0.0.0.0'); |           $flashSock->listen(843, '0.0.0.0'); | ||||||
|         }else{ |         }else{ | ||||||
|           fclose($test); |           fclose($test); | ||||||
|           echo('flash socket server already running on 843' . PHP_EOL); |           trigger_error('flash socket server already running on 843', E_USER_NOTICE); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Ben Connito
						Ben Connito