Skip to content
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

Introduce dynamic DOCROOT #9

Open
elvism-lullabot opened this issue Jul 24, 2024 · 0 comments
Open

Introduce dynamic DOCROOT #9

elvism-lullabot opened this issue Jul 24, 2024 · 0 comments

Comments

@elvism-lullabot
Copy link
Collaborator

The web directory is hardcoded in some places which makes the non-web dir projects run into errors, here are some places I found:

rm -rf web/sites/simpletest/{{ shellQuote .test_id }}/
mkdir -p web/sites/simpletest/{{ shellQuote .test_id }}/
mkdir -p /tmp/sqlite/{{ shellQuote .test_id }}/

cp -a web/sites/default/*.php web/sites/simpletest/{{ shellQuote .test_id }}/
cp -a web/sites/default/*.yml web/sites/simpletest/{{ shellQuote .test_id }}/

while [ -d web/sites/simpletest/{{ shellQuote .test_id }}/ ]; do
rm -rf web/sites/simpletest/{{ shellQuote .test_id }}/ 2>/dev/null || true

include_once '/var/www/html/web/core/includes/bootstrap.inc';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant