Fix install script, allow navbar for md

This commit is contained in:
Anaggh S 2018-08-04 19:28:26 +05:30
parent 96f44aa286
commit 939b2ba5f4
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
<nav class="navbar navbar-light bg-light d-block d-sm-none">
<nav class="navbar navbar-light bg-light d-block d-lg-none">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

View File

@ -128,7 +128,7 @@ include(PATH_HELPERS.'valid.class.php');
include(PATH_HELPERS.'text.class.php');
include(PATH_HELPERS.'log.class.php');
include(PATH_HELPERS.'date.class.php');
include(PATH_KERNEL.'dblanguage.class.php');
include(PATH_KERNEL.'language.class.php');
// --- LANGUAGE and LOCALE ---
// Try to detect the language from browser or headers
@ -155,7 +155,7 @@ foreach ($languageFiles as $fname=>$native) {
}
}
$Language = new Language($finalLanguage);
$language = new Language($finalLanguage);
// Set locale
setlocale(LC_ALL, $localeFromHTTP);