12 lines
192 B
PHP
12 lines
192 B
PHP
<?php
|
|
|
|
use App\Models\Setting;
|
|
|
|
if (! function_exists('setting')) {
|
|
function setting(string $key, mixed $default = null): mixed
|
|
{
|
|
return Setting::get($key, $default);
|
|
}
|
|
}
|
|
|