setlanguage function is called on load

This commit is contained in:
Roland Gruber 2003-05-09 16:27:09 +00:00
parent 75f7ab2a4b
commit b34f642b2a
2 changed files with 7 additions and 3 deletions

View File

@ -30,6 +30,8 @@ include_once ("../../lib/status.inc");
session_save_path("../../sess"); session_save_path("../../sess");
@session_start(); @session_start();
setlanguage();
// get sorting column when register_globals is off // get sorting column when register_globals is off
$list = $_GET['list']; $list = $_GET['list'];

View File

@ -9,18 +9,18 @@ $Id$
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more detaexils. GNU General Public License for more detaexils.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
This code displays a list of all Samba hosts. This code displays a list of all Samba hosts.
*/ */
include_once ("../../lib/config.inc"); include_once ("../../lib/config.inc");
include_once ("../../lib/ldap.inc"); include_once ("../../lib/ldap.inc");
@ -30,6 +30,8 @@ include_once ("../../lib/status.inc");
session_save_path("../../sess"); session_save_path("../../sess");
@session_start(); @session_start();
setlanguage();
// get sorting column when register_globals is off // get sorting column when register_globals is off
$list = $_GET['list']; $list = $_GET['list'];