-
Notifications
You must be signed in to change notification settings - Fork 189
Remove space from php-timezone sed pattern #399
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
Merged
+1
−1
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
54f1808
Add timezone setting to template.env
LSI-ZuagrastaWastl 9b9ff56
Add timezone environment variable to services
LSI-ZuagrastaWastl 6f3aa89
Add PHP timezone config to docker-compose
LSI-ZuagrastaWastl 2c8d4fd
Change PHP timezone variable and set localtime
LSI-ZuagrastaWastl f712ff7
Fix timezone setting in PHP configuration
LSI-ZuagrastaWastl dce5669
Change PHP_TIMEZONE variable to use TZ
LSI-ZuagrastaWastl da0e4e4
Remove tzone.ini configuration from docker-compose
LSI-ZuagrastaWastl 25e999f
Change timezone setting to use update-alternatives
LSI-ZuagrastaWastl 48e3c76
Merge branch 'master' into master
LSI-ZuagrastaWastl 44f0c8c
sed TZ:UTC to TZ:-UTC
LSI-ZuagrastaWastl 578b141
Change php-timezone variable to use TZ directly
LSI-ZuagrastaWastl 98b1984
Remove PHP_TIMEZONE environment variable
LSI-ZuagrastaWastl ee22d13
Update PHP timezone configuration to TZ in entrypoint_fpm.sh
LSI-ZuagrastaWastl f611df2
Update timezone comment in template.env
LSI-ZuagrastaWastl dbb4031
Update timezone setting in entrypoint.sh
LSI-ZuagrastaWastl 2441374
Merge branch 'MISP:master' into master
LSI-ZuagrastaWastl e83392b
Fix sed command for date.timezone configuration
LSI-ZuagrastaWastl 4203c57
Merge branch 'MISP:master' into master
LSI-ZuagrastaWastl 2a5eca5
Fix sed command for date.timezone configuration
LSI-ZuagrastaWastl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
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.
Why do we need to fix it?
My understanding is that, if this is never modified manually, it should work consistently?
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.
The problem is that, by default, the
php.inifile does not appear to have a space after;date.timezone =. As a result, the pattern does not recognize this line and does not set the value.Without the space in the pattern, it is therefore more robust.
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.
Oh, that is indeed annoying...