Refactor iForum bootstrap to stop direct central Art includes#39
Merged
Conversation
Agent-Logs-Url: https://github.com/iForumModule/iforum/sessions/c63434c5-fdf3-4585-b817-d9e672a58240 Co-authored-by: fiammybe <[email protected]>
Agent-Logs-Url: https://github.com/iForumModule/iforum/sessions/c63434c5-fdf3-4585-b817-d9e672a58240 Co-authored-by: fiammybe <[email protected]>
Agent-Logs-Url: https://github.com/iForumModule/iforum/sessions/c63434c5-fdf3-4585-b817-d9e672a58240 Co-authored-by: fiammybe <[email protected]>
Agent-Logs-Url: https://github.com/iForumModule/iforum/sessions/c63434c5-fdf3-4585-b817-d9e672a58240 Co-authored-by: fiammybe <[email protected]>
Agent-Logs-Url: https://github.com/iForumModule/iforum/sessions/c63434c5-fdf3-4585-b817-d9e672a58240 Co-authored-by: fiammybe <[email protected]>
Agent-Logs-Url: https://github.com/iForumModule/iforum/sessions/c63434c5-fdf3-4585-b817-d9e672a58240 Co-authored-by: fiammybe <[email protected]>
Agent-Logs-Url: https://github.com/iForumModule/iforum/sessions/c63434c5-fdf3-4585-b817-d9e672a58240 Co-authored-by: fiammybe <[email protected]>
Agent-Logs-Url: https://github.com/iForumModule/iforum/sessions/c63434c5-fdf3-4585-b817-d9e672a58240 Co-authored-by: fiammybe <[email protected]>
Agent-Logs-Url: https://github.com/iForumModule/iforum/sessions/c63434c5-fdf3-4585-b817-d9e672a58240 Co-authored-by: fiammybe <[email protected]>
Copilot created this pull request from a session on behalf of
fiammybe
May 26, 2026 09:13
View session
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The module still relied on central bootstrap/runtime files to pull in
src/class/art/*directly, coupling entry-point initialization to the Art runtime. This change moves those bootstrap responsibilities behind the module bootstrap/helper layer while preserving existing page and object-loading behavior.Bootstrap routing
src/class/art/*directly:src/icms_version.phpsrc/header.phpsrc/include/functions.ini.phpsrc/admin/admin_header.phpsrc/include/bootstrap.php, keeping Art loading behind a module-owned bootstrap surface.Shared Art runtime helpers
iforum_load_art_functions_ini()iforum_load_art_functions()iforum_load_art_object()Compatibility and deprecation
iforum_load_object()remains in place as a compatibility wrapper.iforum_load_art_object()instead of calling Art bootstrap directly.Entry-point behavior