mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
507 B
PHP
27 lines
507 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Xlang;
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class XlangSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
//
|
|
$lang = new Xlang();
|
|
$lang->tag = config('app.xlang_main');
|
|
$lang->rtl = true;
|
|
$lang->is_default = true;
|
|
$lang->name = __("Default");
|
|
$lang->save();
|
|
}
|
|
}
|