phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: etemplate/inc class.soetemplate.inc.php,1.10,1.1


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.soetemplate.inc.php,1.10,1.11
Date: Tue, 17 Sep 2002 11:38:37 -0400

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

Modified Files:
        class.soetemplate.inc.php 
Log Message:
suppressed an error-msg and try reading the template from the filesystem if it 
is not found in the db

Index: class.soetemplate.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.soetemplate.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** class.soetemplate.inc.php   17 Sep 2002 14:35:43 -0000      1.10
--- class.soetemplate.inc.php   17 Sep 2002 15:38:34 -0000      1.11
***************
*** 205,209 ****
                        if (!$this->db->next_record())
                        {
!                               return False;
                        }
                        $this->db2obj();
--- 205,209 ----
                        if (!$this->db->next_record())
                        {
!                               return $this->readfile();
                        }
                        $this->db2obj();
***************
*** 228,232 ****
                        $file .= '.xul';
  
!                       if ($this->name == '' || $app == '' || $name == '' || 
!is_readable($file) || !($f = fopen($file,'r')))
                        {
                                //echo "<p>Can't open '$file' !!!</p>\n";
--- 228,232 ----
                        $file .= '.xul';
  
!                       if ($this->name == '' || $app == '' || $name == '' || 
address@hidden($file) || !($f = @fopen($file,'r')))
                        {
                                //echo "<p>Can't open '$file' !!!</p>\n";





reply via email to

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