Skip to content
Code-Schnipsel Gruppen Projekte
Commit 389c6140 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

refactor: use quiqqer asset links

Übergeordneter 02831b88
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -46,17 +46,17 @@ class EventHandler
$theme = $params['theme'];
}
$themeRealPath = OPT_DIR . 'bin/pace-js/themes/' . $theme;
$themeRealPath = OPT_DIR . 'bin/quiqqer-asset/pace-js/pace-js/themes/' . $theme;
if (file_exists($themeRealPath)) {
$themePath = URL_OPT_DIR . 'bin/pace-js/themes/' . $theme;
$themePath = URL_OPT_DIR . 'bin/quiqqer-asset/pace-js/pace-js/themes/' . $theme;
} else {
$themePath = URL_OPT_DIR . 'bin/pace-js/themes/red/pace-theme-minimal.css';
$themePath = URL_OPT_DIR . 'bin/quiqqer-asset/pace-js/pace-js/themes/red/pace-theme-minimal.css';
}
return '
<script src="' . URL_OPT_DIR . 'bin/pace-js/pace.min.js"></script>
<script src="' . URL_OPT_DIR . 'bin/quiqqer-asset/pace-js/pace-js/pace.min.js"></script>
<link href="' . $themePath . '" rel="stylesheet"/>
';
}
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren