Skip to content

Commit

Permalink
Update tcp socket variable in README.md (sunspikes#20)
Browse files Browse the repository at this point in the history
CLAMAV_LOCAL_TCP_SOCKET is not the used variable, CLAMAV_TCP_SOCKET is used in the code (ClamavValidator.php:104)
  • Loading branch information
thiagobbt authored and sunspikes committed May 10, 2019
1 parent 6cdd1c3 commit fdb91e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ $rules = array(

By default the package will try to connect the clamav daemon via the default socket file (/var/run/clamav/clamd.ctl) and if it fails it will try the tcp port (127.0.0.1:3310)

But you can set the `CLAMAV_UNIX_SOCKET` (socket file path) or `CLAMAV_LOCAL_TCP_SOCKET` (host:port) environment variables to override this.
But you can set the `CLAMAV_UNIX_SOCKET` (socket file path) or `CLAMAV_TCP_SOCKET` (host:port) environment variables to override this.

<a name="author"></a>
## Author
Expand Down

0 comments on commit fdb91e3

Please sign in to comment.