mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
deleted pro code
This commit is contained in:
@@ -29,21 +29,6 @@ class UpdateSettingValueController extends Controller
|
||||
return response('Done', 204);
|
||||
}
|
||||
|
||||
// Set paypal live option
|
||||
if ($request->input('name') === 'paypal_live') {
|
||||
setEnvironmentValue([
|
||||
'PAYPAL_IS_LIVE' => $request->input('value') ? 'true' : 'false',
|
||||
]);
|
||||
|
||||
// Clear config cache
|
||||
if (! is_dev()) {
|
||||
Artisan::call('config:clear');
|
||||
Artisan::call('config:cache');
|
||||
}
|
||||
|
||||
return response('Done', 204);
|
||||
}
|
||||
|
||||
// Find and update variable
|
||||
Setting::updateOrCreate(
|
||||
['name' => $request->input('name')],
|
||||
|
||||
Reference in New Issue
Block a user