Файловый менеджер - Редактировать - /home/clickysoft/public_html/assets.clickysoft.net/app/Http/Requests/UpdateTicketRequest.php
Назад
<?php namespace App\Http\Requests; use Gate; use Illuminate\Foundation\Http\FormRequest; class UpdateTicketRequest extends FormRequest { public function authorize() { return auth()->user()->is_org_admin ?? Gate::allows('ticket_edit'); } public function rules() { return [ 'tag_id' => [ 'nullable', 'integer', 'exists:asset_tags,id,organization_id,' . auth()->user()->organization_id, ], 'subject' => [ 'string', 'max:255', ], 'message' => [ 'required', 'max:2048', ], 'status' => [ 'required', 'in:open,pending,closed', ], 'priority' => [ 'required', 'in:low,medium,high', ], 'attachment' => [ 'nullable', 'file', 'mimes:jpg,jpeg,png,pdf,doc,docx,xls,xlsx,ppt,pptx,txt,csv', 'max:2048', ], ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка