mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 06:46:08 -06:00
Merge pull request #1090 from openclassify/muammertop
#4092 missing images and icons on first install
This commit is contained in:
commit
db447c62e7
@ -115,6 +115,12 @@ class AdvsModulePlugin extends Plugin
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
new \Twig_SimpleFunction(
|
||||||
|
'is_module_enabled',
|
||||||
|
function ($slug) {
|
||||||
|
return app(AdvModel::class)->is_enabled($slug);
|
||||||
|
}
|
||||||
|
)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user