1
0
Daniel Supernault 6 жил өмнө
parent
commit
06fe1f0669

+ 4 - 0
app/Http/Controllers/ImportController.php

@@ -11,6 +11,10 @@ class ImportController extends Controller
     public function __construct()
     {
         $this->middleware('auth');
+
+        if(config('pixelfed.import.instagram.enabled') != true) {
+        	abort(404, 'Feature not enabled');
+        }
     }
 
 }