[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgroupware login.php,1.76.2.4,1.76.2.4.2.1
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgroupware login.php,1.76.2.4,1.76.2.4.2.1 |
Date: |
Thu, 27 Mar 2003 13:20:37 -0500 |
Update of /cvsroot/phpgroupware/phpgroupware
In directory subversions:/tmp/cvs-serv31646
Modified Files:
Tag: Version-0_9_16-branch
login.php
Log Message:
addaption to setup-classes in api
Index: login.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/login.php,v
retrieving revision 1.76.2.4
retrieving revision 1.76.2.4.2.1
diff -C2 -r1.76.2.4 -r1.76.2.4.2.1
*** login.php 21 Mar 2003 15:04:28 -0000 1.76.2.4
--- login.php 27 Mar 2003 18:20:35 -0000 1.76.2.4.2.1
***************
*** 146,156 ****
function update_langs()
{
! //echo "<h1>update_langs()</h1>\n";
!
! include(PHPGW_SERVER_ROOT . '/setup/inc/class.setup.inc.php');
! $GLOBALS['phpgw_setup'] = new phpgw_setup;
$GLOBALS['phpgw_setup']->db = $GLOBALS['phpgw']->db;
! $GLOBALS['phpgw_setup']->check_lang(false); // get
installed langs
$langs = $GLOBALS['phpgw_info']['setup']['installed_langs'];
while (list($lang) = each($langs))
--- 146,153 ----
function update_langs()
{
! $GLOBALS['phpgw_setup'] = CreateObject('phpgwapi.setup');
$GLOBALS['phpgw_setup']->db = $GLOBALS['phpgw']->db;
! $GLOBALS['phpgw_setup']->detection->check_lang(false); // get
installed langs
$langs = $GLOBALS['phpgw_info']['setup']['installed_langs'];
while (list($lang) = each($langs))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgroupware login.php,1.76.2.4,1.76.2.4.2.1,
Ralf Becker <address@hidden> <=