function LoadLanguageFile()
{
    global $aMessages, $sLangID, $sHTMLCharSet;
    AddIncludePath();
    if (!@(include "language.inc.php")) {
        @(include "language.inc");
    }
    ResetIncludePath();
    if (isset($sHTMLCharSet) && $sHTMLCharSet !== "") {
        header("Content-Type: text/html; charset={$sHTMLCharSet}");
    }
}
Exemplo n.º 2
0
function LoadLanguageFile()
{
    global $aMessages, $sLangID, $sHTMLCharSet;
    AddIncludePath();
    @(include "language.inc");
    ResetIncludePath();
}