Skip to content

Don't use Yii::$app->params for class config #2

@cebe

Description

@cebe

curl_setopt($ch, CURLOPT_URL, Yii::$app->params['splunk']['url']);
curl_setopt($ch, CURLOPT_USERPWD, Yii::$app->params['splunk']['token']);

these should be class properties instead and should be configured directly in the log target.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions