added missing setlanguage();

This commit is contained in:
Roland Gruber 2003-07-06 17:54:11 +00:00
parent cd08a7b923
commit ba26464129
4 changed files with 10 additions and 2 deletions

View File

@ -30,6 +30,8 @@ include_once('../../lib/status.inc');
session_save_path("../../sess");
@session_start();
setlanguage();
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");

View File

@ -30,6 +30,8 @@ include_once ("../../lib/config.inc");
session_save_path("../../sess");
@session_start();
setlanguage();
// check if button was pressed and if we have to save the setting or go back to login
if ($_POST['back'] || $_POST['submitconf']){
// save settings

View File

@ -23,12 +23,14 @@ $Id$
confsave saves the new preferences to lam.conf
*/
include_once ('../../lib/config.inc');
// start session
session_save_path("../../sess");
session_start();
@session_start();
setlanguage();
include_once ('../../lib/config.inc');
$conf = new Config($_SESSION['filename']);
// get data from session

View File

@ -30,6 +30,8 @@ include_once('../../lib/status.inc');
session_save_path("../../sess");
@session_start();
setlanguage();
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>");
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");