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

Add baseurl to all URLs in templates and redirects. #4

Merged
merged 2 commits into from
Feb 2, 2015

Conversation

judgej
Copy link
Member

@judgej judgej commented Feb 1, 2015

#3

Here you go - take it or leave it :-)

I personally find the example application very useful when developing on a gateway, and also as the first point of call when trying to understand OmniPay for the first time. There are so many different platforms to develop on these days, that it helps to have this flexibility. I tend to have so many things on the go at once, that it is easier to plonk a bunch of projects on one server than to have a gazzillion servers brought up all over the place. But YMMV, naturally :-)

I've tested this in a sub-directory and also the root folder of a domain, with mod_php 5.4, and it works for me, though there could always be some path I've not taken into account.

greydnls added a commit that referenced this pull request Feb 2, 2015
Add baseurl to all URLs in templates and redirects.
@greydnls greydnls merged commit 9fa5d1b into thephpleague:master Feb 2, 2015
@greydnls
Copy link
Contributor

greydnls commented Feb 2, 2015

Thanks @judgej !

@judgej
Copy link
Member Author

judgej commented Feb 2, 2015

Thanks :-)

I've just tested it from the command line on a non-GUI server using php -S localhost:8081 and the lynx text browser. It looks rather nice like that.

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

Successfully merging this pull request may close these issues.

None yet

2 participants