}
if (strlen($set->getCharset()) > 0) {
    define("OBIB_CHARSET", $set->getCharset());
} else {
    define("OBIB_CHARSET", DB_CHARSET);
}
//  define("OBIB_CHARSET",$set->getCharset());
//jal 5/jul/2015 para alx mu.ltiidioma    ----<
define("OBIB_HTML_LANG_ATTR", $set->getHtmlLangAttr());
define("OBIB_LIBRARY_USE_IMAGE_ONLY", $set->isUseImageSet());
define("OBIB_LIBRARY_IMAGE_URL", $set->getLibraryImageUrl());
//jal 5/jul/2015 para alx mu.ltiidioma    ---->
$locQ = new LocaleQuery(OBIB_LOCALE);
$locQ->connect();
if ($locQ->errorOccurred()) {
    $locQ->close();
    displayErrorPage($locQ);
}
$locQ->_getLocaleInfo();
if ($locQ->errorOccurred()) {
    $locQ->close();
    displayErrorPage($locQ);
}
if ($locQ->_isdefaultlocale) {
    define("VIEW_LOCALE", '');
} else {
    define("VIEW_LOCALE", OBIB_LOCALE);
}
$locQ->close();
//jal 5/jul/2015 para alx mu.ltiidioma    ----<
/****************************************************************************
Exemplo n.º 2
0
  $installQ->freshInstall($locale,  $parament = "CDD", $CDD);
  $installQ->freshInstall($locale,  $parament = "IBIC", $IBIC);
  $installQ->freshInstall($locale,  $parament = "CUTTER", $CUTTER);
*/
$version = $installQ->getCurrentDatabaseVersion();
$installQ->close();
if ($version) {
    ?>
<br>

GiordanoBruno database version: <?php 
    echo H($version);
    ?>
<br>

<?php 
    require_once "../classes/LocaleQuery.php";
    $localizator = new LocaleQuery($locale, "", $version);
    $locok = $localizator->PrepareLocaleSeance();
    $localizator->close();
}
echo "<br>" . $loc->getText("install_Data_ok") . "<br>\n";
?>

<a href="../home/index.php"> <?php 
echo $loc->getText("form_start");
?>
</a>

<?php 
include "../install/footer.php";