Skip to content

Commit

Permalink
Fixed some minor debugging bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
guyc committed Jun 15, 2012
1 parent 66e660f commit db4cf97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Foml.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static function RenderFoml($Template, $Args)
}
}
$_php = Foml::GeneratePhp($Template);
//Dump(htmlspecialchars($_php));
//Dump(htmlspecialchars($_php)); return;
eval("?".">".$_php); // prefixed with ? > to exit implicit php mode

}
Expand Down Expand Up @@ -96,10 +96,11 @@ static function XslFoToPdf($XslFo)
$stderr = file($errFile);
unlink($outFile);
unlink($errFile);
Dump("cmd={$cmd}");
Dump("result={$exit}");
Dump(join($stdout,""));
Dump(join($stderr,""));
Dump(htmlspecialchars($xslFo));
Dump(htmlspecialchars($XslFo));
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion FomlFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function RenderSuffix()
{
}

function Render($Indent=0)
function Render()
{
$this->RenderPrefix();
foreach ($this->children as $child) {
Expand Down

0 comments on commit db4cf97

Please sign in to comment.