mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-24 00:20:25 +00:00
29 lines
632 B
PHP
29 lines
632 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
class Settings
|
|
{
|
|
public static $general = [
|
|
'brand_name' => 'Phyre Panel',
|
|
'master_domain' => '',
|
|
'master_email' => '',
|
|
'master_country' => '',
|
|
'master_locality' => '',
|
|
'organization_name' => '',
|
|
];
|
|
|
|
public static function general()
|
|
{
|
|
$settings = setting('general');
|
|
if (! empty($settings)) {
|
|
foreach ($settings as $key => $value) {
|
|
if (isset(self::$general[$key])) {
|
|
self::$general[$key] = $value;
|
|
}
|
|
}
|
|
}
|
|
|
|
return self::$general;
|
|
}
|
|
}
|