phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: etemplate/inc class.db_tools.inc.php,1.3,1.4


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.db_tools.inc.php,1.3,1.4
Date: Mon, 18 Feb 2002 06:24:40 -0500

Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv11037

Modified Files:
        class.db_tools.inc.php 
Log Message:
function write: do is_writable for the dir and not for the nonexisting file now

Index: class.db_tools.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.db_tools.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** class.db_tools.inc.php      17 Feb 2002 19:09:15 -0000      1.3
--- class.db_tools.inc.php      18 Feb 2002 11:24:38 -0000      1.4
***************
*** 486,490 ****
                                $header = "<?php\n\n";
                        }
!                       if (!is_writeable($file) || !($f = fopen($file,'w')))
                        {
                                return False;
--- 486,490 ----
                                $header = "<?php\n\n";
                        }
!                       if (!is_writeable(PHPGW_SERVER_ROOT."/$app/setup") || 
!($f = fopen($file,'w')))
                        {
                                return False;




reply via email to

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