From: Marina Zozirova Date: Thu, 13 Jun 2024 13:56:47 +0000 (+0000) Subject: Logging photo upload X-Git-Tag: 1.3~62^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=7fcc184b6d6662a6ad3ae68c7f52a0cff1f6536b;p=erp24_rep%2Fyii-erp24%2F.git Logging photo upload --- diff --git a/erp24/forms/timetable/StartForm.php b/erp24/forms/timetable/StartForm.php index bed200c5..e4ac1f1c 100755 --- a/erp24/forms/timetable/StartForm.php +++ b/erp24/forms/timetable/StartForm.php @@ -234,6 +234,8 @@ class StartForm extends Model mkdir($dataPath."/admin/$Y/$m", 0777, true); } $fileName = $_SESSION["admin_id"] . '-' . date("YmdHis") . '.jpg'; + + \Yii::info("photo-path: " . $dataPath."/admin/$Y/$m/$fileName"); return $dataPath."/admin/$Y/$m/$fileName"; }