芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/database/seeders/OrganisationSettingsTableSeeder.php
global_app_name = $appName; $globalSetting->locale = 'en'; $globalSetting->google_recaptcha_status = 'deactive'; $globalSetting->google_recaptcha_v2_status = 'deactive'; $globalSetting->google_recaptcha_v3_status = 'deactive'; $globalSetting->app_debug = false; $globalSetting->rtl = false; $globalSetting->hide_cron_message = 0; $globalSetting->system_update = 1; $globalSetting->show_review_modal = 1; $globalSetting->auth_theme = 'light'; $globalSetting->session_driver = $defaultDriver; $globalSetting->allowed_file_size = 10; $globalSetting->moment_format = 'DD-MM-YYYY'; $globalSetting->allowed_file_types = 'image/*,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/docx,application/pdf,text/plain,application/msword,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/zip,application/x-zip-compressed, application/x-compressed, multipart/x-zip,.xlsx,video/x-flv,video/mp4,application/x-mpegURL,video/MP2T,video/3gpp,video/quicktime,video/x-msvideo,video/x-ms-wmv,application/sla,.stl'; $globalSetting->show_update_popup = 1; $globalSetting->save(); $setting = new Company(); $setting->company_name = $appName; $setting->app_name = $appName; $setting->company_email = 'company@email.com'; $setting->company_phone = '1234567891'; $setting->address = 'Your Company address here'; $setting->website = 'https://worksuite.biz'; $setting->date_format = 'd-m-Y'; $setting->save(); if (!App::environment('codecanyon')) { $seedCount = config('app.extra_company_seed_count'); for ($i = 0; $i < $seedCount; $i++) { $companyName = fake()->company(); Company::create([ 'company_name' => $companyName, 'app_name' => $companyName, 'company_email' => fake()->unique()->safeEmail(), 'company_phone' => fake()->phoneNumber(), 'address' => fake()->address(), 'website' => fake()->url(), ]); } } } }