Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

Error withFullUrl #36

Closed
nesX opened this issue May 25, 2014 · 3 comments
Closed

Error withFullUrl #36

nesX opened this issue May 25, 2014 · 3 comments

Comments

@nesX
Copy link

nesX commented May 25, 2014

my url : http://localhost/page1/pg/public
i used withFullUrl this call getBaseUrl an this return http:localhost
i replace

return sprintf("%s://%s",
isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https' : 'http',
$_SERVER['HTTP_HOST']
);

for

return \Request::getBaseUrl() // laravel

@ceesvanegmond
Copy link
Owner

I will look into this. Thx for submitting!

@ceesvanegmond
Copy link
Owner

@nesX You can manually set the base url in the config now. The base url of is just the domain name including the protocol.

@nesX
Copy link
Author

nesX commented Jun 4, 2014

thanks so much

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

No branches or pull requests

2 participants