🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:ImageFile.php
<?php namespace Illuminate\Validation\Rules; class ImageFile extends File { /** * Create a new image file rule instance. * * @param bool $allowSvg */ public function __construct($allowSvg = false) { if ($allowSvg) { $this->rules('image:allow_svg'); } else { $this->rules('image'); } } /** * The dimension constraints for the uploaded file. * * @param \Illuminate\Validation\Rules\Dimensions $dimensions * @return $this */ public function dimensions($dimensions) { $this->rules($dimensions); return $this; } }
Save Changes
Cancel
Create New File
Create New Folder