mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 12:10:34 +09:00
Fix test button
This commit is contained in:
@@ -140,15 +140,19 @@ class Item extends Model
|
||||
|
||||
public function enhanced()
|
||||
{
|
||||
$details = $this->config();
|
||||
$details = $this->getconfig();
|
||||
$class = $details->type;
|
||||
$app = new $class;
|
||||
return (bool)($app instanceof \App\EnhancedApps);
|
||||
}
|
||||
|
||||
public function config()
|
||||
public function getconfig()
|
||||
{
|
||||
$config = json_decode($this->description);
|
||||
|
||||
$explode = explode('\\', $config->type);
|
||||
$config->name = end($explode);
|
||||
|
||||
|
||||
$config->url = $this->url;
|
||||
if(isset($config->override_url) && !empty($config->override_url)) {
|
||||
|
||||
Reference in New Issue
Block a user