As suggested in https://github.com/lildude/phpSmug/issues/49, it would be nice if phpSmug JSON encoded the _config option if provided as an array. This PR implements just that.
If an array is received for _config it is JSON encoded for you. If a string is received, it is assumed you have already JSON encoded the configuration.
This issue has been automatically marked as stale because it has not had activity in 14 days. It will be closed in 2 days if no further activity occurs. Thank you for your contributions.
As suggested in https://github.com/lildude/phpSmug/issues/49, it would be nice if phpSmug JSON encoded the
_config
option if provided as an array. This PR implements just that.If an array is received for
_config
it is JSON encoded for you. If a string is received, it is assumed you have already JSON encoded the configuration.Fixes https://github.com/lildude/phpSmug/issues/49