prepare intranet for first Dokploy deployment

This commit is contained in:
2026-08-26 12:59:51 +02:00
parent 5cfe688bdc
commit 29dfb85fef
1321 changed files with 227234 additions and 0 deletions
@@ -0,0 +1,14 @@
<?php
if (!function_exists('intranet_env')) {
function intranet_env(string $name, ?string $default = null): string
{
$value = getenv($name);
if ($value === false || $value === '') {
if ($default !== null) {
return $default;
}
throw new RuntimeException("Missing required environment variable: {$name}");
}
return $value;
}
}