added missing setlanguage();
This commit is contained in:
parent
cd08a7b923
commit
ba26464129
|
@ -30,6 +30,8 @@ include_once('../../lib/status.inc');
|
||||||
session_save_path("../../sess");
|
session_save_path("../../sess");
|
||||||
@session_start();
|
@session_start();
|
||||||
|
|
||||||
|
setlanguage();
|
||||||
|
|
||||||
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>");
|
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\">");
|
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,8 @@ include_once ("../../lib/config.inc");
|
||||||
session_save_path("../../sess");
|
session_save_path("../../sess");
|
||||||
@session_start();
|
@session_start();
|
||||||
|
|
||||||
|
setlanguage();
|
||||||
|
|
||||||
// check if button was pressed and if we have to save the setting or go back to login
|
// check if button was pressed and if we have to save the setting or go back to login
|
||||||
if ($_POST['back'] || $_POST['submitconf']){
|
if ($_POST['back'] || $_POST['submitconf']){
|
||||||
// save settings
|
// save settings
|
||||||
|
|
|
@ -23,12 +23,14 @@ $Id$
|
||||||
confsave saves the new preferences to lam.conf
|
confsave saves the new preferences to lam.conf
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
include_once ('../../lib/config.inc');
|
||||||
|
|
||||||
// start session
|
// start session
|
||||||
session_save_path("../../sess");
|
session_save_path("../../sess");
|
||||||
session_start();
|
@session_start();
|
||||||
|
|
||||||
|
setlanguage();
|
||||||
|
|
||||||
include_once ('../../lib/config.inc');
|
|
||||||
$conf = new Config($_SESSION['filename']);
|
$conf = new Config($_SESSION['filename']);
|
||||||
|
|
||||||
// get data from session
|
// get data from session
|
||||||
|
|
|
@ -30,6 +30,8 @@ include_once('../../lib/status.inc');
|
||||||
session_save_path("../../sess");
|
session_save_path("../../sess");
|
||||||
@session_start();
|
@session_start();
|
||||||
|
|
||||||
|
setlanguage();
|
||||||
|
|
||||||
echo ("<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>");
|
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\">");
|
echo ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue