Skip to content

fix: add fallback for appOverridesFolder config in View#9958

Open
michalsn wants to merge 2 commits intocodeigniter4:developfrom
michalsn:fix/view-fallback
Open

fix: add fallback for appOverridesFolder config in View#9958
michalsn wants to merge 2 commits intocodeigniter4:developfrom
michalsn:fix/view-fallback

Conversation

@michalsn
Copy link
Member

Description
This PR fixes an error when appOverridesFolder is not defined in the View config. This ensures backward compatibility for users who haven't added the new config property yet.

Closes #9955

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@michalsn michalsn added the bug Verified issues on the current code behavior or pull requests that will fix them label Feb 17, 2026
Copy link
Contributor

@neznaika0 neznaika0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to discuss the use of slash instead of DS. This creates invalid paths in some cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Verified issues on the current code behavior or pull requests that will fix them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Config\View::$appOverridesFolder upgrade from 4.6.5 to 4.7.0

3 participants