Re: [PRES] Annoying bug
| From: | Jesus M. Castagnetto | Date: | Sat, 24 Jan 2004 11:12:28 +0000 |
| Subject: | Re: [PRES] Annoying bug | ||
| References: | 1 | Groups: | php.pres |
| Request: | Send a blank email to pres+get-960@lists.php.net to get a copy of this message | ||
--- Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
> I'll probably get annoyed enough and fix this later,
> but just in case this
> rings a bell with anybody who has been messing with
> the code. When doing
> an example which references the code as a separate
> file, the code is not
> rendered when generating a pdf. It only works if
> you inline the code.
I just did a fresh checkout of display.php and
objects.php in pres2 from the latest CVS and do not
see that problem. Perhaps a missing dir in the
include_path in talks.php.net? I was looking at
display.php (lines 1429-1458) and does not seem to be
anything weird there (I am looking pres2 talks via a
my local web server)
BTW, I just copied the code used for generating the
output when coming from a file than is used when the
PHP code is inlined (lines 1540-1546), just replacing
the reference to $example->text by a
file_get_contents($_html_filename) and seems to
generate reasonable PDF output.
=====
--- Jesus M. Castagnetto <jmcastagnetto@php.net>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/