Update src/Core/Addon.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
01403d15c4
commit
4b17d6f3bf
|
@ -170,7 +170,7 @@ class Addon
|
||||||
$func(DI::app());
|
$func(DI::app());
|
||||||
}
|
}
|
||||||
|
|
||||||
DI::config()->set('addons', $addon,[
|
DI::config()->set('addons', $addon, [
|
||||||
'last_update' => $t,
|
'last_update' => $t,
|
||||||
'admin' => function_exists($addon . '_addon_admin'),
|
'admin' => function_exists($addon . '_addon_admin'),
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user