private static function getBootstrapPath($configDir, $bootstrap) { if (!$bootstrap) { return; } // if the path is absolute, return it unmodified if ('/' === substr($bootstrap, 0, 1)) { return $bootstrap; } return $configDir . '/' . $bootstrap; }