Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System: move database, locale and absoluteURL setup into CoreServiceProvider #1695

Open
wants to merge 6 commits into
base: v26.0.00
Choose a base branch
from

Conversation

yookoala
Copy link
Member

@yookoala yookoala commented Nov 3, 2022

Description

  • move database, locale and absoluteURL setup into CoreServiceProvider

Motivation and Context

  • More conform to the service container paradigm.
  • Improve clarity or code in gibbon.php

How Has This Been Tested?

  • Locally.
  • CI environment.

@yookoala yookoala force-pushed the refactor/core-service branch from 614a377 to 5bc37ef Compare November 3, 2022 00:55
@yookoala yookoala changed the title System: move database and locale setup into CoreServiceProvider System: move database, locale and absoluteURL setup into CoreServiceProvider Nov 3, 2022
@yookoala yookoala force-pushed the refactor/core-service branch 4 times, most recently from 8d8e671 to 10966df Compare November 4, 2022 04:51
@yookoala yookoala changed the base branch from v25.0.00 to v26.0.00 November 7, 2023 06:53
* Move database connection logics from gibbon.php into
  CoreServiceProvider::boot for clarity.
* replace with the sessionTableHasSetup flag in container.
* Migrate locale object setup from Core::initializeCore to
  CoreServiceProvider::boot.
* Combine "Globals for backwards compatibility" section.
* Move absoluteURL declaration into CoreServiceProvider.
@yookoala yookoala force-pushed the refactor/core-service branch from 10966df to 1e7168d Compare November 7, 2023 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant