@@ -37,7 +37,9 @@ class LuticateApplication implements MessageComponentInterface
*/
public function __construct($configuration)
{
- ini_set("display_errors", "stderr");
+ if (php_sapi_name() != "cli") {
+ error_reporting(0);
+ }
$this->_config = $configuration;
$this->_clients = new \SplObjectStorage;
$this->_router = new LuRoute();