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

Use default theme if loaded one is not found #1062

Merged
merged 1 commit into from Aug 14, 2019

Conversation

@samwilson
Copy link
Contributor

commented Aug 14, 2019

When loading a user's theme, make sure it's installed. Also, when
determining the default theme, account for the situation in which
zero themes are installed (and use 'default' then).

Refs #1061

Use default theme if loaded one is not found
When loading a user's theme, make sure it's installed. Also, when
determining the default theme, account for the situation in which
zero themes are installed (and use 'default' then).

Refs #1061

@plegall plegall merged commit 7b6912b into Piwigo:master Aug 14, 2019

@plegall

This comment has been minimized.

Copy link
Member

commented Aug 14, 2019

Very good, tested and approved. It was a little pain every time I had this problem. Better have a clean fallback than an ugly error.

@samwilson samwilson deleted the samwilson:theme-check branch Aug 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.