Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Avatar cannot load if deploy Flarum in sub folder #291

Closed
huytd opened this issue Aug 28, 2015 · 5 comments
Closed

Avatar cannot load if deploy Flarum in sub folder #291

huytd opened this issue Aug 28, 2015 · 5 comments
Labels
Milestone

Comments

@huytd
Copy link
Contributor

huytd commented Aug 28, 2015

I see the resource loading code in User.php tell that we load from public path of assets/avatars

It work great if we deploy Flarum in the root folder of the website.
But if we deploy it to the sub-folder, for example: http://abc.com/forum
The avatar will unable to load, because the image path will be http://abc.com/assets/avatars/blah.jpg, the expected path should be http://abc.com/forum/assets/avatar/blah.jpg

@franzliedke
Copy link
Contributor

Thanks for reporting this, I'll fix subfolder installation for the next beta (planned for early next week).

@franzliedke franzliedke added this to the 0.1.0-beta.2 milestone Aug 28, 2015
@tobyzerner tobyzerner mentioned this issue Aug 28, 2015
53 tasks
@franzliedke
Copy link
Contributor

Done. Will be released with beta.2 (next week).

@tobyzerner
Copy link
Contributor

:D

@huytd
Copy link
Contributor Author

huytd commented Aug 29, 2015

great 👍

@DearTanker
Copy link

weekend or middle week T.T

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants