-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Prefer custom theme over the theming app #5070
Conversation
9987bc7
to
958a49e
Compare
lib/private/URLGenerator.php
Outdated
$path = \OC::$WEBROOT . "/themes/$theme/apps/$app/img/$image"; | ||
} elseif (!file_exists(\OC::$SERVERROOT . "/themes/$theme/apps/$app/img/$basename.svg") | ||
&& file_exists(\OC::$SERVERROOT . "/themes/$theme/apps/$app/img/$basename.png")) { | ||
$path = \OC::$WEBROOT . "/themes/$theme/apps/$app/img/$basename.png"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Accident?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, fixed that. Thanks.
958a49e
to
dbb7ed7
Compare
Codecov Report
@@ Coverage Diff @@
## master #5070 +/- ##
============================================
- Coverage 53.77% 53.76% -0.01%
+ Complexity 22744 22742 -2
============================================
Files 1405 1405
Lines 86875 86881 +6
Branches 1328 1328
============================================
- Hits 46715 46711 -4
- Misses 40160 40170 +10
|
@juliushaertl Conflicts. |
8659a7b
to
6301239
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works
Please review ;) |
Works |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests fail
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6301239
to
ce5ad7e
Compare
@nickvergessen Fixed 😉 |
This PR will prevent the theming app from loading its CSS/JavaScript/Images in case a custom theme is used.
This occured in #5036 and #3094
I think this is better default behavior.