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
/
dabbawali.sizzlingcafe.co.in
/
database
/
seeders
/
ItemCategoryTableSeeder.php
/
/
<?php namespace Database\Seeders; use Dipokhalder\EnvEditor\EnvEditor; use Illuminate\Database\Console\Seeds\WithoutModelEvents; use Illuminate\Database\Seeder; use App\Models\ItemCategory; use Illuminate\Support\Str; use App\Enums\Status; class ItemCategoryTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public array $categories = [ 'Appetizers', 'Flame Grill Burgers', 'Veggie & Plant Based Burgers', 'Sandwich from the Grill', 'Hot Chicken Entrees', 'Beef Entrees', 'Seafood Entrees', 'House Special Salads', 'Zoop Soups', 'Side Orders', 'Beverages' ]; public function run() { $envService = new EnvEditor(); if ($envService->getValue('DEMO')) { foreach ($this->categories as $category) { $itemCategory = ItemCategory::create([ 'name' => $category, 'slug' => Str::slug($category), 'description' => null, 'status' => Status::ACTIVE, ]); if(file_exists(public_path('/images/seeder/item-category/' . strtolower(str_replace(' ', '_', $category)) . '.png'))) { $itemCategory->addMedia( public_path('/images/seeder/item-category/' . strtolower(str_replace(' ', '_', $category)) . '.png') )->preservingOriginal()->toMediaCollection('item-category'); } } } } }
/home/users/unlimited/www/dabbawali.sizzlingcafe.co.in/database/seeders/ItemCategoryTableSeeder.php