An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(helpers): Initialize command variable in parseCommandFromMagicEnvVariable
Andras Bacsaif1b98f5ce9f2
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.phpindex 1e9089348e..17ddcbda00 100644--- a/bootstrap/helpers/shared.php+++ b/bootstrap/helpers/shared.php@@ -748,6 +748,7 @@ function parseCommandFromMagicEnvVariable(Str|string $key): Stringable{$value = str($key);$count = substr_count($value->value(), '_');+ $command = null;if ($count === 2) {if ($value->startsWith('SERVICE_FQDN') || $value->startsWith('SERVICE_URL')) {// SERVICE_FQDN_UMAMI