Browse Source

Add Flood class

pull/197/head
Caleb Dunn 7 years ago
parent
commit
2c43d79585
  1. 5
      app/Item.php

5
app/Item.php

@ -33,6 +33,7 @@ class Item extends Model
'Dokuwiki' => \App\SupportedApps\Dokuwiki::class,
'Duplicati' => \App\SupportedApps\Duplicati::class,
'Emby' => \App\SupportedApps\Emby::class,
'Flood' => \App\SupportedApps\Flood::class,
'Gitea' => \App\SupportedApps\Gitea::class,
'Glances' => \App\SupportedApps\Glances::class,
'Grafana' => \App\SupportedApps\Grafana::class,
@ -109,7 +110,7 @@ class Item extends Model
$output->view = $view;
}
if(!isset($output->dataonly)) $output->dataonly = '0';
}
return (object)$output;
}
@ -129,7 +130,7 @@ class Item extends Model
}
}
//die(var_dump($store))
$config['enabled'] = ($store) ? true : false;
$config = json_encode($config);
}

Loading…
Cancel
Save