Rename back App::load()

This commit is contained in:
Art4 2025-01-22 10:53:34 +00:00
parent bb252e326f
commit b9f5a4f745

View file

@ -158,7 +158,7 @@ class App
$this->session = $this->container->create(IHandleUserSessions::class); $this->session = $this->container->create(IHandleUserSessions::class);
$this->appHelper = $this->container->create(AppHelper::class); $this->appHelper = $this->container->create(AppHelper::class);
$this->loadSetupForFrontend( $this->load(
$request, $request,
$this->container->create(DbaDefinition::class), $this->container->create(DbaDefinition::class),
$this->container->create(ViewDefinition::class), $this->container->create(ViewDefinition::class),
@ -272,7 +272,7 @@ class App
/** /**
* Load the whole app instance * Load the whole app instance
*/ */
private function loadSetupForFrontend(ServerRequestInterface $request, DbaDefinition $dbaDefinition, ViewDefinition $viewDefinition) private function load(ServerRequestInterface $request, DbaDefinition $dbaDefinition, ViewDefinition $viewDefinition)
{ {
if ($this->config->get('system', 'ini_max_execution_time') !== false) { if ($this->config->get('system', 'ini_max_execution_time') !== false) {
set_time_limit((int)$this->config->get('system', 'ini_max_execution_time')); set_time_limit((int)$this->config->get('system', 'ini_max_execution_time'));