1
0
Эх сурвалжийг харах

Merge remote-tracking branch 'origin/master'

林海涛 1 жил өмнө
parent
commit
1bf227470b

+ 1 - 1
app/common/command/AddAgreementPdf.php

@@ -60,7 +60,7 @@ class AddAgreementPdf extends Command
             mkdir ('./public/'.$path,0777,true);
         }
         $shell_ = 'wkhtmltopdf --page-height 297mm '.$url.' '.'public/'.$path.$pdf;
-        passthru($shell_);
+        system($shell_);
         $agreement = MasterWorkerAgree::where('code', $code)->findOrEmpty();
         $agreement->pdf_url = $path.$pdf;
         $agreement->save();