From 91c8f1f5bca06ab86c4862f6dfc332d99f3b18cf Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 3 Jun 2023 18:41:16 +0200 Subject: [PATCH] do not report if CI test 2 --- .github/workflows/cypress.yml | 3 --- install/steps/7-finish.php | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index e028af40..2909555a 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -96,9 +96,6 @@ jobs: - name: Install Composer dependencies run: composer install --no-progress --prefer-dist --optimize-autoloader - - name: Dump Env - run: php -r "var_dump(getenv());" - - name: Run PHP server run: nohup php -S localhost:8080 > php.log 2>&1 & diff --git a/install/steps/7-finish.php b/install/steps/7-finish.php index 0f776b06..f6e1f6c2 100644 --- a/install/steps/7-finish.php +++ b/install/steps/7-finish.php @@ -122,7 +122,7 @@ else { )); if(!isset($_SESSION['installed'])) { - if (!array_key_exists('CI', $_ENV)) { + if (!array_key_exists('CI', getenv())) { $report_url = 'https://my-aac.org/report_install.php?v=' . MYAAC_VERSION . '&b=' . urlencode(BASE_URL); if (function_exists('curl_version')) {