Skip to content

Commit dbca958

Browse files
Merge pull request #408 from continuouspipe/feature/symfony-endpoint-fix
Resolve directories earlier so Symfony endpoint change works
2 parents 0461b38 + 923acb8 commit dbca958

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
export WORK_DIRECTORY=${WORK_DIRECTORY:-/app}

php/shared/usr/local/share/env/40-stack

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ export XDEBUG_REMOTE_ENABLED
3939
export XDEBUG_REMOTE_HOST=${XDEBUG_REMOTE_HOST:-sshforward}
4040
export XDEBUG_REMOTE_PORT=${XDEBUG_REMOTE_PORT:-9000}
4141

42-
export WORK_DIRECTORY=${WORK_DIRECTORY:-/app}
43-
42+
export WEB_DIRECTORY=${WEB_DIRECTORY:-web}
4443
export WEB_HOST=${WEB_HOST:-localhost}
4544
export WEB_HTTP_PORT=${WEB_HTTP_PORT:-80}
4645
WEB_HTTPS="$(convert_to_boolean_string "${WEB_HTTPS:-true}")"

php/shared/usr/local/share/env/55-stack

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
2-
export WEB_DIRECTORY=${WEB_DIRECTORY:-web}
32

43
# Relative WEB_DIRECTORY converted to absolute path
54
if ! [[ "$WEB_DIRECTORY" =~ ^/ ]]; then

0 commit comments

Comments
 (0)