This commit is contained in:
Kode
2018-10-28 10:59:59 +00:00
parent d1956c4e88
commit 4351f55225
11 changed files with 59 additions and 27 deletions

View File

@@ -335,8 +335,8 @@ class ItemController extends Controller
$item = Item::find($id);
$config = $item->getconfig();
if(isset($config->type)) {
$application = new $config->type;
if(isset($item->class)) {
$application = new $item->class;
$application->config = $config;
echo $application->livestats();
}