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

Unprocessed replacement in default.local.drushrc.php #1057

Closed
TravisCarden opened this issue Feb 9, 2017 · 3 comments
Closed

Unprocessed replacement in default.local.drushrc.php #1057

TravisCarden opened this issue Feb 9, 2017 · 3 comments
Assignees

Comments

@TravisCarden
Copy link
Contributor

After creation of a fresh BLT site, my default.local.drushrc.php has the following contents:

<?php
/**
 * #file
 * Local drush configuration for this project.
 */

$options['uri'] = '${project.local.uri}';

Since it's in a string literal, I assume that ${project.local.uri} is a Phing token or something that was supposed to be replaced?

@grasmash
Copy link
Contributor

grasmash commented Feb 9, 2017

It will not be replaced until you execute "blt setup" or "blt local:setup". default.local.drushrc.php will be copied to local.drushrc.php, at which point the token will be replaced. default.local.drushrc.php should never actually be interpreted by PHP.

@TravisCarden
Copy link
Contributor Author

Ah! That makes sense. Thanks.

@grasmash
Copy link
Contributor

grasmash commented Feb 9, 2017

Maybe we should add a comment to the file to clarify this for others.

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

2 participants