[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] setup lang.php
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] setup lang.php |
Date: |
Sun, 18 Feb 2007 21:04:24 +0000 |
CVSROOT: /cvsroot/phpgroupware
Module name: setup
Changes by: Caeies <Caeies> 07/02/18 21:04:24
Modified files:
. : lang.php
Log message:
some fix for notices ... damn me if things are no more working !
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/setup/lang.php?cvsroot=phpgroupware&r1=1.57&r2=1.58
Patches:
Index: lang.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/lang.php,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- lang.php 10 Feb 2007 09:20:24 -0000 1.57
+++ lang.php 18 Feb 2007 21:04:24 -0000 1.58
@@ -5,7 +5,7 @@
* @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc.
http://www.fsf.org/
* @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
* @package setup
- * @version $Id: lang.php,v 1.57 2007/02/10 09:20:24 skwashd Exp $
+ * @version $Id: lang.php,v 1.58 2007/02/18 21:04:24 Caeies Exp $
*/
$phpgw_info = array();
@@ -66,6 +66,10 @@
$lang_selected = $_POST['lang_selected'];
$upgrademethod = $_POST['upgrademethod'];
+ if(!isset($GLOBALS['phpgw_info']['server']['lang_ctimes']))
+ {
+ $GLOBALS['phpgw_info']['server']['lang_ctimes'] =
array();
+ }
if (!isset($GLOBALS['phpgw_info']['server']) && $upgrademethod
!= 'dumpold')
{
@@ -115,6 +119,11 @@
// Visit each app/setup dir, look for a
phpgw_lang file
while (list($key,$app) =
each($setup_info))
{
+ if(!array_key_exists('name',
$app))
+ {
+ continue;
+ }
+
$appfile = PHPGW_SERVER_ROOT .
SEP . $app['name'] . SEP . 'setup' . SEP . 'phpgw_' . strtolower($lang) .
'.lang';
//echo '<br />Checking in: ' .
$app['name'];
if($GLOBALS['phpgw_setup']->app_registered($app['name']) &&
file_exists($appfile))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] setup lang.php,
Caeies <=