barryvdh / laravel-elfinder

elFinder bundle for Laravel
745 stars 171 forks source link

Class Input Not found. #148

Closed netcan closed 8 years ago

netcan commented 8 years ago

FatalThrowableError in routes.php line 39: Class 'Input' not found。

Route::get('glide/{path}', function($path){
    $server = \League\Glide\ServerFactory::create([
        'source' => app('filesystem')->disk('public')->getDriver(),
        'cache' => storage_path('glide'),
    ]);
    return $server->getImageResponse($path, Input::query());
})->where('path', '.+');