-
-
Notifications
You must be signed in to change notification settings - Fork 226
Add php override file used by many shared hosting #1426
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
Conversation
WalkthroughThe change adds Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Why do you want that file mirrored to the public directory @mjauvin? That seems like the kind of file one wouldn't want mirrored at all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
modules/system/console/WinterMirror.php (1)
34-43: Adding.user.inito mirrored files is reasonable; confirm server blocks direct access if neededIncluding
.user.inialongside.htaccessin$fileskeeps per‑directory PHP overrides working when using the mirrored public folder, and the implementation will safely no‑op when the file is absent. The change itself looks good.Operationally, if your
.user.inican contain sensitive configuration, double‑check that your webserver (or.htaccess) already prevents direct HTTP access to this file in the mirrored public directory so you don’t accidentally expose it.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
modules/system/console/WinterMirror.php(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
- GitHub Check: windows-latest / PHP 8.2
- GitHub Check: windows-latest / PHP 8.3
- GitHub Check: windows-latest / PHP 8.4
- GitHub Check: ubuntu-latest / PHP 8.2
- GitHub Check: ubuntu-latest / PHP 8.4
- GitHub Check: windows-latest / PHP 8.1
- GitHub Check: ubuntu-latest / PHP 8.3
- GitHub Check: ubuntu-latest / PHP 8.1
- GitHub Check: windows-latest / JavaScript
|
Because it's required when the site uses the mirror for the overrides to be seen by the webserver. It's the equivalent of |
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.