public static function check()
{
$main_config = \Config::get('publisher');
$custom_setting = \Configer::getSetting();
$config = array_merge(array_filter($main_config), array_filter($custom_setting));
@($license = explode("\n", $config['license']));
if (count($license)) {
$config['license'] = $license;
}
$result = [];
foreach (\Lang::get('alert') as $key => $value) {
if (count(explode('.', $key)) == 2) {
$exp = explode('.', $key);
$check = $config[$exp[0]][$exp[1]];
} else {
$check = $config[$key];
}
if (empty($check)) {
array_push($result, $value);
}
}
return $result;
}