Update config() to config_cache()
This commit is contained in:
parent
1c2baa8f2c
commit
c65d03788b
5 changed files with 6 additions and 6 deletions
|
@ -12,7 +12,7 @@ class ImportController extends Controller
|
|||
{
|
||||
$this->middleware('auth');
|
||||
|
||||
if(config('pixelfed.import.instagram.enabled') != true) {
|
||||
if(config_cache('pixelfed.import.instagram.enabled') != true) {
|
||||
abort(404, 'Feature not enabled');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue