do not report if CI test 2

This commit is contained in:
slawkens 2023-06-03 18:41:16 +02:00
parent 4e22c42b10
commit c7ce87c4b6
2 changed files with 1 additions and 4 deletions

View File

@ -96,9 +96,6 @@ jobs:
- name: Install Composer dependencies - name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Dump Env
run: php -r "var_dump(getenv());"
- name: Run PHP server - name: Run PHP server
run: nohup php -S localhost:8080 > php.log 2>&1 & run: nohup php -S localhost:8080 > php.log 2>&1 &

View File

@ -122,7 +122,7 @@ else {
)); ));
if(!isset($_SESSION['installed'])) { 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); $report_url = 'https://my-aac.org/report_install.php?v=' . MYAAC_VERSION . '&b=' . urlencode(BASE_URL);
if (function_exists('curl_version')) if (function_exists('curl_version'))
{ {