|
From: Andreas A. <a.a...@th...> - 2001-08-24 00:06:38
|
Hi Andris,
> > include_once('./prepend.php');
> > is also missing for the generated pagedef
> I'll try to commit the latest version of it all tomorrow (I'm going to
> figure out how to commit something at all as the day before
> yesterday was my first day with CVS).
Cool. I'll help if you have probs.
> About "prepend'" , I wonder whether it works if we have
> a file,lets say, in /htdocs/mydircteory/something/file.php?
prepend.php is replicated over all dirctories, i guess.
> And more: how can we know if we want our value to be quoted? I mean,
> sometimes something like this BC_PATH."/ext/metabase" is passed and it
> doesn't need usual quotes arround it....
In fact it does not work with quotes. That's a problem. I just worked around
it by setting IncludePath directly in QueryManager. But I don't like it. So
xml2php should look for BC_* and act accordingly i.e. BC_PATH."path/to/"
Another problem ist that xml2php translates structures with no more than one
"entry" like:
<langs>
<lang>
...
</lang>
</langs>
into
$data = array(
'lang'= array (..);
);
but what we want is
$data = array(
array(
...
)
);
For the moment this was only a problem with datasources.php and i added a
dummy entry to avoid this.
Best,
Andi
|