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

Using Config Variables Inside Environment Files #25

Open
kmgdevelopment opened this issue Apr 16, 2013 · 0 comments
Open

Using Config Variables Inside Environment Files #25

kmgdevelopment opened this issue Apr 16, 2013 · 0 comments

Comments

@kmgdevelopment
Copy link

I've been trying to set some variables on a per-environment basis inside Master Config, but I keep getting browser errors. For example, if I put this at the bottom of config.local.php:

if ($site_id == '1') {
    $env_config['webmaster_email'] = '[email protected]';
} else {
    $env_config['webmaster_email'] = '[email protected]';
}

I get a browser "can't load this page" error.

What am I doing wrong here?

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