Merge pull request #11755 from tobiasd/fix11752

wrong parameter for BaseURL get in smoothly theme
pull/11757/head^2
Philipp 2022-07-20 07:19:45 +02:00 zatwierdzone przez GitHub
commit c35e11e01f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ function smoothly_init(App $a) {
Renderer::setActiveTemplateEngine('smarty3');
$cssFile = null;
$ssl_state = null;
$ssl_state = false;
$baseurl = DI::baseUrl()->get($ssl_state);
DI::page()['htmlhead'] .= <<< EOT
@ -89,7 +89,7 @@ if (! function_exists('_js_in_foot')) {
function _js_in_foot() {
/** @purpose insert stuff in bottom of page
*/
$ssl_state = null;
$ssl_state = false;
$baseurl = DI::baseUrl()->get($ssl_state);
$bottom['$baseurl'] = $baseurl;
$tpl = Renderer::getMarkupTemplate('bottom.tpl');