diff --git a/.env b/.env index 752e1a0..156516e 100644 --- a/.env +++ b/.env @@ -19,6 +19,14 @@ APP_ENV=dev APP_SECRET=c568351812f857b25cd8d151d705ee16 ###< symfony/framework-bundle ### + +###> Discog api keuy ### + +#DISCOGS_KEY=kLzxeHuJCXRyQuBURaEN +#DISCOGS_SECRET=biDCkuoMbGLeDtQGqCPCtbVqmzPaVmQG + +###< Discog api keuy ### + ###> doctrine/doctrine-bundle ### # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml diff --git a/src/Utils.php b/src/Utils.php index 40d8a15..62ba4c1 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -16,8 +16,8 @@ class Utils // Set the base URI for the request and any default request options $auth = array( - "key" => "kLzxeHuJCXRyQuBURaEN", - "secret" => "biDCkuoMbGLeDtQGqCPCtbVqmzPaVmQG" + "key" => $_ENV["DISCOGS_KEY"], + "secret" => $_ENV["DISCOGS_SECRET"] ); // Create the query parameters array