From e5b9283582148e33bd1c493e78fdfc9944dea1a6 Mon Sep 17 00:00:00 2001 From: Simon Hamp Date: Sat, 7 Sep 2024 04:55:10 +0100 Subject: [PATCH] wip --- dist/server/php.js | 2 -- src/server/php.ts | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dist/server/php.js b/dist/server/php.js index 3b9d8f8..724ba71 100644 --- a/dist/server/php.js +++ b/dist/server/php.js @@ -126,7 +126,6 @@ function ensureAppFoldersAreAvailable() { function startQueueWorker(secret, apiPort, phpIniSettings = {}) { const env = { APP_ENV: process.env.NODE_ENV === 'development' ? 'local' : 'production', - APP_DEBUG: process.env.NODE_ENV === 'development' ? 'true' : 'false', NATIVEPHP_STORAGE_PATH: storagePath, NATIVEPHP_DATABASE_PATH: databaseFile, NATIVEPHP_API_URL: `http://localhost:${apiPort}/api/`, @@ -160,7 +159,6 @@ function getPath(name) { function getDefaultEnvironmentVariables(secret, apiPort) { return { APP_ENV: process.env.NODE_ENV === 'development' ? 'local' : 'production', - APP_DEBUG: process.env.NODE_ENV === 'development' ? 'true' : 'false', LARAVEL_STORAGE_PATH: storagePath, NATIVEPHP_STORAGE_PATH: storagePath, NATIVEPHP_DATABASE_PATH: databaseFile, diff --git a/src/server/php.ts b/src/server/php.ts index a0ef326..642fa7f 100644 --- a/src/server/php.ts +++ b/src/server/php.ts @@ -142,7 +142,7 @@ function ensureAppFoldersAreAvailable() { function startQueueWorker(secret, apiPort, phpIniSettings = {}) { const env = { APP_ENV: process.env.NODE_ENV === 'development' ? 'local' : 'production', - APP_DEBUG: process.env.NODE_ENV === 'development' ? 'true' : 'false', + // APP_DEBUG: process.env.NODE_ENV === 'development' ? 'true' : 'false', NATIVEPHP_STORAGE_PATH: storagePath, NATIVEPHP_DATABASE_PATH: databaseFile, NATIVEPHP_API_URL: `http://localhost:${apiPort}/api/`, @@ -181,7 +181,7 @@ function getPath(name: string) { function getDefaultEnvironmentVariables(secret, apiPort) { return { APP_ENV: process.env.NODE_ENV === 'development' ? 'local' : 'production', - APP_DEBUG: process.env.NODE_ENV === 'development' ? 'true' : 'false', + // APP_DEBUG: process.env.NODE_ENV === 'development' ? 'true' : 'false', LARAVEL_STORAGE_PATH: storagePath, NATIVEPHP_STORAGE_PATH: storagePath, NATIVEPHP_DATABASE_PATH: databaseFile,