This repository has been archived by the owner on Aug 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docker): Check for cli execution with php_sapi_name since
we won't have all the environment variables loaded Signed-off-by: Francisco Miguel Biete <[email protected]>
- Loading branch information
Francisco Miguel Biete
committed
Apr 2, 2015
1 parent
79fff50
commit ee57662
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
1 comment
on commit ee57662
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.
Yeah. The echampet branch (soon to be merged into master) removes all the closing "?>" tags, and cleans the ending newlines.
This will remove some bizarre errors about headers being sent already.
Instead of adding a newline at the end of PHP source files, it is generally accepted to just leave off the closing "?>" tag - also leaving the file to end with a newline