Files
dpl/config/site.php
T

15 lines
447 B
PHP

<?php
$profile = env('SITE_PROFILE', 'dpl');
if (!in_array($profile, ['dpl', 'hn'], true)) {
throw new InvalidArgumentException('SITE_PROFILE must be dpl or hn.');
}
return [
'profile' => $profile,
'name' => env('SITE_NAME', 'hardnerd'),
'full_name' => env('SITE_FULL_NAME', 'hardnerd.net'),
'logo' => env('SITE_LOGO', '/brand/hn/logo.svg'),
'description' => env('SITE_DESCRIPTION', 'hardnerd · 探索全球网络'),
];