mirror of
https://github.com/flarum/core.git
synced 2025-10-12 23:44:27 +02:00
Add a base ServiceProvider with useful public APIs
This commit is contained in:
@@ -22,6 +22,7 @@ class ExtensionsServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
$app = $this->app;
|
||||
$extensions = json_decode(DB::table('config')->where('key', 'extensions_enabled')->pluck('value'), true);
|
||||
|
||||
foreach ($extensions as $extension) {
|
||||
|
Reference in New Issue
Block a user