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

Avatar cannot load if deploy Flarum in sub folder #291

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

Comments

Projects
None yet
4 participants
@huytd
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

This comment has been minimized.

Show comment
Hide comment
@franzliedke

franzliedke Aug 28, 2015

Member

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

Member

franzliedke commented Aug 28, 2015

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

@tobscure tobscure referenced this issue Aug 28, 2015

Closed

v0.1.0 roadmap (old) #74

19 of 53 tasks complete
@franzliedke

This comment has been minimized.

Show comment
Hide comment
@franzliedke

franzliedke Aug 29, 2015

Member

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

Member

franzliedke commented Aug 29, 2015

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

@tobscure

This comment has been minimized.

Show comment
Hide comment
@tobscure
Member

tobscure commented Aug 29, 2015

:D

@huytd

This comment has been minimized.

Show comment
Hide comment
@huytd

huytd Aug 29, 2015

Contributor

great 👍

Contributor

huytd commented Aug 29, 2015

great 👍

@DearTanker

This comment has been minimized.

Show comment
Hide comment
@DearTanker

DearTanker Aug 31, 2015

weekend or middle week T.T

DearTanker commented Aug 31, 2015

weekend or middle week T.T

@justjavac justjavac referenced this issue Sep 7, 2015

Open

Flarum v0.1.0 开发路线图 #3

18 of 53 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment