|
|
@@ -1050,7 +1050,7 @@ ORDER;
|
|
|
// if (!file_exists($image_file)) {
|
|
|
// $image_file = \Yii::$app->runtimePath . '/../common/uploads/ngds-logo.jpg';
|
|
|
// }
|
|
|
- $image_file = \Yii::$app->runtimePath . '/../ngds-logo.jpg';
|
|
|
+ $image_file = \Yii::$app->basePath . '/../ngds-logo.jpg';
|
|
|
$image = file_get_contents($image_file);
|
|
|
$pdf->Image('@' . $image, 15, 12, 20, 7, 'JPG');
|
|
|
$pdf->writeHTML($context);
|
|
|
@@ -1319,7 +1319,7 @@ ORDER;
|
|
|
// if (!file_exists($image_file)) {
|
|
|
// $image_file = \Yii::$app->runtimePath . '/../common/uploads/ngds-logo.jpg';
|
|
|
// }
|
|
|
- $image_file = \Yii::$app->runtimePath . '/../ngds-logo.jpg';
|
|
|
+ $image_file = \Yii::$app->basePath . '/../ngds-logo.jpg';
|
|
|
$image = file_get_contents($image_file);
|
|
|
$pdf->Image('@' . $image, 15, 12, 20, 7, 'JPG');
|
|
|
$pdf->writeHTML($context);
|
|
|
@@ -1894,7 +1894,7 @@ ORDER;
|
|
|
// if (!file_exists($image_file)) {
|
|
|
// $image_file = \Yii::$app->runtimePath . '/../common/uploads/ngds-logo.jpg';
|
|
|
// }
|
|
|
- $image_file = \Yii::$app->runtimePath . '/../ngds-logo.jpg';
|
|
|
+ $image_file = \Yii::$app->basePath . '/../ngds-logo.jpg';
|
|
|
$image = file_get_contents($image_file);
|
|
|
|
|
|
$pdf->Image('@' . $image, 15, 12, 20, 7, 'JPG');
|