mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
add SEP to add_file
This commit is contained in:
parent
7a821129e4
commit
75bdb0df44
@ -95,9 +95,9 @@
|
|||||||
$rootdir=$this->rootdir;
|
$rootdir=$this->rootdir;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (substr($filename, 0, 1) != '/')
|
if (substr($filename, 0, 1) != SEP)
|
||||||
{
|
{
|
||||||
$new_filename = $rootdir.'/'.$filename;
|
$new_filename = $rootdir . SEP . $filename;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -290,7 +290,8 @@
|
|||||||
$arguments = array('/_xml' => $this->xmldata, '/_xsl' => $this->xsldata);
|
$arguments = array('/_xml' => $this->xmldata, '/_xsl' => $this->xsldata);
|
||||||
$html = xslt_process($xsltproc,'arg:/_xml','arg:/_xsl',NULL,$arguments);
|
$html = xslt_process($xsltproc,'arg:/_xml','arg:/_xsl',NULL,$arguments);
|
||||||
}
|
}
|
||||||
else // PHP 4.0.6 -- works okay
|
else /* PHP 4.0.6 -- works okay
|
||||||
|
no, it doesnt work at all :) [ceb] */
|
||||||
{
|
{
|
||||||
xslt_process($this->xsldata, $this->xmldata,$html);
|
xslt_process($this->xsldata, $this->xmldata,$html);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user