Skip to content

Commit

Permalink
first set php path #110
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickakk committed Oct 5, 2024
1 parent 2fab2d3 commit aa5f541
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Release notes

## Version 2024-09
*Release date: 2024-10-05*

### Bug fix
- First set php path in includes.sh #110


## Version 2024-07
*Release date: 2024-07-31*

Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-07
2024-09
4 changes: 2 additions & 2 deletions src/Command/includes.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash

function prepare_php() {
# set path
export PATH="/layers/heroku_php/platform/bin:${PATH}"
# enable intl module
mkdir -p /app/.heroku/php/etc/php/conf.d
cp /layers/heroku_php/platform/etc/php/php.ini /app/.heroku/php/etc/php/
sed -i 's|;user_ini.filename|user_ini.filename|g' /app/.heroku/php/etc/php/php.ini
cp .user.ini /app/.heroku/php/etc/php/conf.d/
chown -R 1000:1000 /app/.heroku
# set path
export PATH="/layers/heroku_php/platform/bin:${PATH}"
}

0 comments on commit aa5f541

Please sign in to comment.