PhyrePanel/web/app/Settings.php
Bozhidar Slaveykov 4911892173 update
2024-04-02 15:41:07 +03:00

30 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;
}
}