Closed bdteo closed 4 years ago
The worst thing are actually these lines of code
public function __construct(array $attributes = array())
{
$this->table = env('DB_LOG_TABLE', 'logs');
$this->connection = env('DB_LOG_CONNECTION', env('DB_CONNECTION', 'mysql'));
parent::__construct($attributes);
}
They render the package absolutely unusable in production.
Thank you @bdteo for comments! Fixed
https://stackoverflow.com/questions/40026893/what-is-difference-between-use-envapp-env-configapp-env-or-appenviron