Nie wiem czy cos zle robie. Zrobilem sobie prosty szablon
test_pdf.php
<?
function invoice_test ($x,$y)
{
global $pdf, $_CONFIG;
$y = $y - text_align_left($x,$y,10,'napis');
return $y;
}
invoice_test(30,200);
?>
i mam komunikat
Fatal error: Cannot redeclare invoice_test() (previously declared in
/var/www/lms/modules/test_pdf.php:3) in /var/www/lms/modules/test_pdf.php on
line 3