uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
foodbank.codeskitter.site
/
fa8fd
/
..
/
app
/
Http
/
Requests
/
AddonRequest.php
/
/
<?php namespace App\Http\Requests; use App\Libraries\FileLibrary; use Illuminate\Foundation\Http\FormRequest; class AddonRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'purchase_username' => ['nullable', 'string', 'max:200'], 'purchase_code' => ['nullable', 'string', 'max:255'], 'addon_file' => 'required|file|mimes:zip|max:307200' ]; } // public function withValidator($validator) // { // $validator->after(function ($validator) { //// $addon_file_read = FileLibrary::read_json('addon.json', $this->file_extract_path . $this->file_folder_name); // $addons = Addon::where(['slug' => $addon_file_read->data->slug, 'version' => $addon_file_read->data->version])->get(), 'obj', 'slug'); // // // // if (isset($addons[$obj->name]) && $addons[$obj->name]->version == $obj->version) { // // $this->form_validation->set_message("fileUpload", "This addon already installed."); // // return false; // // } else { // // // // } // // if ($this->menuItemNameUniqueCheck()) { // $validator->errors()->add('name', 'The menu item name already exists.'); // } // if ($this->priceValidationCheck()) { // $validator->errors()->add('discount_price', 'The discount price is greater than the unit price.'); // } // }); // } }
/home/users/unlimited/www/foodbank.codeskitter.site/fa8fd/../app/Http/Requests/AddonRequest.php