diff --git a/Dockerfile b/Dockerfile index 30cbc3fa4c..ac91813a64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,4 +64,5 @@ EXPOSE 80 EXPOSE 443 COPY --chown=root:root --chmod=550 install/OS_specific/Docker/init.sh /root/ COPY --chown=root:root --chmod=550 install/bashrc /root/.bashrc + CMD ["bash", "/root/init.sh"] \ No newline at end of file diff --git a/core/repo/market.display.repo.php b/core/repo/market.display.repo.php index 636a40d2dd..5d88caed34 100644 --- a/core/repo/market.display.repo.php +++ b/core/repo/market.display.repo.php @@ -90,10 +90,9 @@ } else { if (config::byKey('market::apikey') != '' || (config::byKey('market::username') != '' && config::byKey('market::password') != '')) { $purchase_info = repo_market::getPurchaseInfo(); - if (isset($purchase_info['user_id']) && is_numeric($purchase_info['user_id'])) { - ?> + if (isset($purchase_info['user_id']) && is_numeric($purchase_info['user_id'])) { ?> /index.php?v=d&p=profils' target="_blank"> {{Code promo}} - getCertification() !== 'Premium') { echo ' {{Acheter}}'; } else {