Initial commit: CloudOps infrastructure platform

This commit is contained in:
root
2026-04-09 19:58:57 +02:00
commit 1166a52f26
7762 changed files with 839452 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?php
include 'paths.php';
// Closure to replace kernel.project_dir placeholders
$replaceRootPlaceholder = function (&$value) use ($projectRoot, &$replaceRootPlaceholder) {
if (is_array($value)) {
foreach ($value as &$v) {
$replaceRootPlaceholder($v);
}
} elseif (false !== strpos($value, '%kernel.project_dir%')) {
$value = str_replace('%kernel.project_dir%', $projectRoot, $value);
}
};
// Handle paths
$replaceRootPlaceholder($paths);