offsetSet(tao_install_Setup::CONTAINER_INDEX, [$filePath]); $script = new tao_install_Setup(); call_user_func($script, $container); } catch (Exception $e) { $container->offsetGet(\oat\oatbox\log\LoggerService::SERVICE_ID) ->getLogger() ->error($e->getMessage()); if (PHP_SAPI == 'cli') { exit($e->getCode() == 0 ? 1 : $e->getCode()); } }