phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: developer_tools/inc class.solangfile.inc.php,1.9


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: developer_tools/inc class.solangfile.inc.php,1.9.2.1,1.9.2.2
Date: Mon, 28 Oct 2002 19:54:21 -0500

Update of /cvsroot/phpgroupware/developer_tools/inc
In directory subversions:/tmp/cvs-serv18534

Modified Files:
      Tag: Version-0_9_14-branch
        class.solangfile.inc.php 
Log Message:
killed 2 php-warnings


Index: class.solangfile.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/developer_tools/inc/class.solangfile.inc.php,v
retrieving revision 1.9.2.1
retrieving revision 1.9.2.2
diff -C2 -r1.9.2.1 -r1.9.2.2
*** class.solangfile.inc.php    30 Jun 2002 00:11:25 -0000      1.9.2.1
--- class.solangfile.inc.php    29 Oct 2002 00:54:19 -0000      1.9.2.2
***************
*** 205,209 ****
                        $fd = PHPGW_SERVER_ROOT . SEP . $app . SEP . 'setup';
                        $fn = $fd . SEP . 'phpgw_' . $userlang . '.lang';
!                       if (is_writeable($fn))
                        {
                                $wr = True;
--- 205,209 ----
                        $fd = PHPGW_SERVER_ROOT . SEP . $app . SEP . 'setup';
                        $fn = $fd . SEP . 'phpgw_' . $userlang . '.lang';
!                       if (@is_writeable($fn))
                        {
                                $wr = True;
***************
*** 285,289 ****
                        $fn = PHPGW_SERVER_ROOT . SEP . $app_name . SEP . 
'setup' . SEP . 'phpgw_' . $userlang . '.lang';
                        $fp = fopen($fn,'wb');
!                       while(list($mess_id,$data) = each($langarray))
                        {
                                fwrite($fp,$mess_id . "\t" . $data['app_name'] 
. "\t" . $userlang . "\t" . $data['content'] . "\n");
--- 285,289 ----
                        $fn = PHPGW_SERVER_ROOT . SEP . $app_name . SEP . 
'setup' . SEP . 'phpgw_' . $userlang . '.lang';
                        $fp = fopen($fn,'wb');
!                       while(list($mess_id,$data) = @each($langarray))
                        {
                                fwrite($fp,$mess_id . "\t" . $data['app_name'] 
. "\t" . $userlang . "\t" . $data['content'] . "\n");





reply via email to

[Prev in Thread] Current Thread [Next in Thread]