forked from mirror/pixelfed
21 lines
333 B
PHP
21 lines
333 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
class ImportController extends Controller
|
|
{
|
|
use Import\Instagram, Import\Mastodon;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->middleware('auth');
|
|
|
|
if(config_cache('pixelfed.import.instagram.enabled') != true) {
|
|
abort(404, 'Feature not enabled');
|
|
}
|
|
}
|
|
|
|
}
|