diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 85e3a39496..49b19b9200 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,7 +32,9 @@ jobs: - name: Run migrations run: | - php src/tools/apply-updates.php + php src/tools/apply-updates.php + env: + APP_MODE: development - name: PHPUnit Tests uses: php-actions/phpunit@v3 diff --git a/composer.phar b/composer.phar new file mode 100755 index 0000000000..53f8b81265 Binary files /dev/null and b/composer.phar differ diff --git a/src/conf/config.php b/src/conf/config.php index 319b69b223..9e13d5f2ff 100644 --- a/src/conf/config.php +++ b/src/conf/config.php @@ -13,7 +13,7 @@ $folders = glob(CONFIG_PATH . '*.d/'); $folders_dev = glob(PROTECTED_PATH . 'containers/config.d/'); -if ($_ENV['APP_MODE'] === APPMODE_DEVELOPMENT) { +if (!$_ENV['APP_MODE']) && ($_ENV['APP_MODE'] === APPMODE_DEVELOPMENT) { $folders = array_merge($folders, $folders_dev); } sort($folders);