Import Database from scaffolding lib and remove instances from .env.ini #1

Merged
vlw merged 1 commit from refs/pull/1/head into master 2026-02-12 15:27:01 +01:00
vlw commented 2026-02-12 15:19:12 +01:00 (Migrated from codeberg.org)

This PR fixes instancing issues with Database due to not being able to locate its parent class from the scaffolding library. This is definitely kind of strange and should probably be investigated further. It might be because we're not autoloading these files from the library itself.

We also remove loading of Database credentials from .env.ini as that does not make any sense for a bundled library. Database credentials are now provided to the constructor of the Database class.

This PR fixes instancing issues with `Database` due to not being able to locate its parent class from the [scaffolding library](/vlw/scaffold). This is definitely kind of strange and should probably be investigated further. It might be because we're not autoloading these files from the library itself. We also remove loading of Database credentials from `.env.ini` as that does not make any sense for a bundled library. Database credentials are now provided to the constructor of the `Database` class.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vlw/wp!1
No description provided.