File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ private function rebaseUrls($css, $webDir) {
285285 $ re = '/url\([ \'"]([\.\w?=\/-]*)[ \'"]\)/x ' ;
286286 // OC\Route\Router:75
287287 if (($ this ->config ->getSystemValue ('htaccess.IgnoreFrontController ' , false ) === true || getenv ('front_controller_active ' ) === 'true ' )) {
288- $ subst = 'url( \'../../ ' .$ webDir .'/$1 \') ' ;
288+ $ subst = 'url( \'../../ ' .$ webDir .'/$1 \') ' ;
289289 } else {
290290 $ subst = 'url( \'../../../ ' .$ webDir .'/$1 \') ' ;
291291 }
@@ -313,6 +313,6 @@ public function getCachedSCSS($appName, $fileName) {
313313 */
314314 private function prependBaseurlPrefix ($ cssFile ) {
315315 $ frontendController = ($ this ->config ->getSystemValue ('htaccess.IgnoreFrontController ' , false ) === true || getenv ('front_controller_active ' ) === 'true ' );
316- return md5 ($ this ->urlGenerator ->getBaseUrl () . $ frontendController ) . '- ' . $ cssFile ;
316+ return substr ( md5 ($ this ->urlGenerator ->getBaseUrl () . $ frontendController), 0 , 8 ) . '- ' . $ cssFile ;
317317 }
318318}
You can’t perform that action at this time.
0 commit comments