feat: implement global settings management with database defaults and admin UI configuration
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
require_once 'vendor/autoload.php';
|
||||
$app = require_once 'bootstrap/app.php';
|
||||
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
|
||||
$kernel->bootstrap();
|
||||
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
$langs = ['en', 'tr'];
|
||||
foreach ($langs as $lang) {
|
||||
echo "Translations for $lang:\n";
|
||||
$trans = DB::table('translate')->where('dil', $lang)->get();
|
||||
foreach ($trans as $t) {
|
||||
echo " - {$t->icerik} => {$t->ceviri}\n";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user