![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/app/config/ |
<?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', ]);