From 019b679ed9c6c492aea55ca2dc69eea97cd5666a Mon Sep 17 00:00:00 2001 From: A1Gard Date: Sun, 26 Jan 2025 06:27:39 +0330 Subject: [PATCH] fixed bug theme part --- .../views/segments/products/PedramProducts/PedramProducts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/segments/products/PedramProducts/PedramProducts.php b/resources/views/segments/products/PedramProducts/PedramProducts.php index dbf7a7c..bcc8d33 100644 --- a/resources/views/segments/products/PedramProducts/PedramProducts.php +++ b/resources/views/segments/products/PedramProducts/PedramProducts.php @@ -60,7 +60,7 @@ class PedramProducts $setting->title = $part->area_name . ' ' . $part->part.' Image'; $setting->save(); - File::copy(__DIR__.'/../../default-assets/coin-left.png',public_path('upload/images/').$part->area_name . '.' . $part->part.'.png'); + File::copy(__DIR__.'/../../default-assets/coin-left.png',public_path('upload/images/').$part->area_name . '.' . $part->part.'1.png'); $setting = new Setting(); $setting->section = 'theme'; $setting->key = $part->area_name . '_' . $part->part.'2_png'; @@ -70,7 +70,7 @@ class PedramProducts $setting->title = $part->area_name . ' ' . $part->part.' Image'; $setting->save(); - File::copy(__DIR__.'/../../default-assets/gold-right.png',public_path('upload/images/').$part->area_name . '.' . $part->part.'.png'); + File::copy(__DIR__.'/../../default-assets/gold-right.png',public_path('upload/images/').$part->area_name . '.' . $part->part.'2.png'); } public static function onRemove(Part $part = null) {