phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.xslttemplates.inc.php,1.12,1.


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.xslttemplates.inc.php,1.12,1.13
Date: Wed, 06 Nov 2002 18:20:05 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv32117

Modified Files:
        class.xslttemplates.inc.php 
Log Message:
add SEP to add_file

Index: class.xslttemplates.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.xslttemplates.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** class.xslttemplates.inc.php 26 Oct 2002 22:39:19 -0000      1.12
--- class.xslttemplates.inc.php 6 Nov 2002 23:20:02 -0000       1.13
***************
*** 96,102 ****
                                }
                                
!                               if (substr($filename, 0, 1) != '/')
                                {
!                                       $new_filename = $rootdir.'/'.$filename;
                                }
                                else
--- 96,102 ----
                                }
                                
!                               if (substr($filename, 0, 1) != SEP)
                                {
!                                       $new_filename = $rootdir . SEP . 
$filename;
                                }
                                else
***************
*** 291,295 ****
                                $html = 
xslt_process($xsltproc,'arg:/_xml','arg:/_xsl',NULL,$arguments);
                        }
!                       else // PHP 4.0.6 -- works okay
                        {
                                xslt_process($this->xsldata, 
$this->xmldata,$html);
--- 291,296 ----
                                $html = 
xslt_process($xsltproc,'arg:/_xml','arg:/_xsl',NULL,$arguments);
                        }
!                       else /* PHP 4.0.6 -- works okay
!                                       no, it doesnt work at all :) [ceb] */
                        {
                                xslt_process($this->xsldata, 
$this->xmldata,$html);





reply via email to

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