İlk temizlik tamamlandı bir önceki projeden

This commit is contained in:
Ümit Tunç
2026-04-28 21:14:25 +03:00
commit f80443aec0
10000 changed files with 959965 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php function html_to_pdf($html, $pdf, $paper="portrait")
{
$params = "";
if($paper == "landscape") {
$params = "-O landscape";
}
putenv('LANG=ru_RU.UTF-8');
$wk_path = env("wk_path");
$command = "$wk_path $params '$html' '$pdf'";
return shell_exec($command);
} ?>