uawdijnntqw1x1x1
IP : 3.141.47.139
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
jackpotjunglegam
/
public_html
/
80d3f
/
..
/
core
/
storage
/
..
/
app
/
Lib
/
.
/
..
/
Rules
/
FileTypeValidate.php
/
/
<?php namespace App\Rules; use Illuminate\Contracts\Validation\Rule; class FileTypeValidate implements Rule { protected $extensions; /** * Create a new rule instance. * * @return void */ public function __construct($extensions) { $this->extensions = $extensions; } /** * Determine if the validation rule passes. * * @param string $attribute * @param mixed $value * @return bool */ public function passes($attribute, $value) { return in_array($value->getClientOriginalExtension(), $this->extensions); } /** * Get the validation error message. * * @return string */ public function message() { return ':attribute file type is not supported.'; } }
/home/jackpotjunglegam/public_html/80d3f/../core/storage/../app/Lib/./../Rules/FileTypeValidate.php