|
|
@@ -525,6 +525,8 @@ ORDER;
|
|
|
$path = '/pdfs/' . $file_name;
|
|
|
$pdf->Output(Yii::$app->basePath . '/web' . $path, 'F');
|
|
|
|
|
|
+ @exec('chmod -R 777 /' . Yii::$app->basePath . '/web' . $path);
|
|
|
+
|
|
|
return static::notice(['fileUrl' => $path, 'targetName' => $file_name]);
|
|
|
}
|
|
|
|