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,31 @@
<?php
$paths = [
// customizable
'themes' => 'themes',
'assets' => 'app/assets',
'media' => 'media',
'asset_prefix' => '',
'plugins' => 'plugins',
'translations' => 'translations',
'local_config' => '%kernel.project_dir%/config/local.php',
];
$root = $root ?? realpath(__DIR__.'/..');
$projectRoot = $projectRoot ?? Mautic\CoreBundle\Loader\ParameterLoader::getProjectDirByRoot($root);
// allow easy overrides of the above
if (file_exists($projectRoot.'/config/paths_local.php')) {
include $projectRoot.'/config/paths_local.php';
} elseif (file_exists($root.'/config/paths_local.php')) {
include $root.'/config/paths_local.php';
}
// fixed
$paths = array_merge($paths, [
// remove /app from the root
'root' => substr($root, 0, -4),
'app' => 'app',
'bundles' => 'app/bundles',
'vendor' => 'vendor',
]);