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

Extra slash added for env_config['cp_url'] #14

Closed
gmhenderson opened this issue Jun 25, 2012 · 4 comments
Closed

Extra slash added for env_config['cp_url'] #14

gmhenderson opened this issue Jun 25, 2012 · 4 comments

Comments

@gmhenderson
Copy link

Hello,

I just noticed that the $env_config['cp_url'] variables gets an extra slash. This is in config.master.php, around like 105. See:

$env_config['base_url']            = $base_url . '/';
$env_config['site_url']            = $env_config['base_url'];
$env_config['cp_url']              = $env_config['base_url'] . '/admin.php';

It's safe to remove the slash that appears before admin.php, yes?

@erikreagan
Copy link
Member

Yes, that's a good catch. We'll tweak that for the future. Thank you!

Erik

@agemmell
Copy link

agemmell commented Jan 4, 2013

Downloaded ee-master-config today - looks good! I notice this bug hasn't been fixed in the repo though. Easy enough to change manually myself but just wanted to bump this issue!

@erikreagan
Copy link
Member

Ah, thanks for the catch @agemmell. I see there's a pull request about this so we'll merge it in now.

Erik

erikreagan added a commit that referenced this issue Jan 14, 2013
Fix double slash issue from issue #14
@danystad
Copy link

danystad commented Sep 3, 2013

Hello, I just came across the double slash issue today, when troubleshooting two EE add-ons.

I removed the trailing slash manually and it works fine now. Just wanted to let you know as it still in the repo.

Great setup by the way.

Dany

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

4 participants