public static function build($action, $settings) { global $config; if ($action == 'all') { file_write($config['dir']['home'] . $settings['file'], radio::install($settings)); } }