Skip to content

Refactor constants/Laminas app setup to separate files.#2301

Merged
demiankatz merged 2 commits intovufind-org:dev-9.0from
demiankatz:refactor-application-creation
Feb 2, 2022
Merged

Refactor constants/Laminas app setup to separate files.#2301
demiankatz merged 2 commits intovufind-org:dev-9.0from
demiankatz:refactor-application-creation

Conversation

@demiankatz
Copy link
Member

@demiankatz demiankatz commented Feb 1, 2022

TODO

  • Confirm that profiling still works
  • Run full test suite

@demiankatz demiankatz requested a review from EreMaijala February 1, 2022 20:01
@demiankatz
Copy link
Member Author

@EreMaijala, this PR is an attempt to extract and refine the refactoring of public/index.php from #2233, so we can merge it independently of the larger Doctrine project. Please let me know what you think!

@demiankatz demiankatz changed the title Refactor constants/Laminas app setup separate files. Refactor constants/Laminas app setup to separate files. Feb 1, 2022
@aleksip
Copy link
Contributor

aleksip commented Feb 2, 2022

@demiankatz Just out of curiosity: why the separate config/application.php, if it is only included in public/index.php? Are there plans to include it from elsewhere too?

@demiankatz
Copy link
Member Author

@demiankatz Just out of curiosity: why the separate config/application.php, if it is only included in public/index.php? Are there plans to include it from elsewhere too?

Yes, when we add Doctrine, we need to access the Application from the Doctrine console configuration file.

@demiankatz demiankatz merged commit 90993d8 into vufind-org:dev-9.0 Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants